Skip to content

Hronaut 3.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 14:52
· 787 commits to main since this release
0b4d131

What's changed

Added

  • Agents can check what Chromium itself computes for one element's accessibility, where page heuristics guess wrong: a number input is a spinbutton and a multiple select a listbox. browser_computed_accessibility returns the element's computed role, whether and why it is hidden from assistive technology (such as aria-hidden, inert or not rendered), and states such as expanded, selected, pressed, checked, required and readonly, with states Chromium did not report listed apart from false. The element's name, description and value never leave Hronaut, and elements with too much text to check first are refused.
  • Agents can see what a value was when the page's code reached a line, without editing or rebuilding the app. browser_logpoint lists a page's scripts and the sources their source maps name, then records an expression at up to five source or script lines each time the page runs them, up to 50 times each for at most five minutes. Each hit pauses the page for about 2 ms while Chromium evaluates the expression under its side-effect check, so an expression that would change the page is refused instead of run; values are bounded and stay in memory, and reading them needs the same page-interaction permission as setting them. A logpoint stops at its hit limit before the page resumes, counting hits in other frames too, only fires in the exact build it was set in, survives a reload of that build, and ends when the page leaves its origin, you click or type in the page, agents are paused, Developer Tools open or you select Logpoints in the address bar.
  • Agents can inspect apps that keep their state in a Web Worker. browser_workers lists the dedicated workers a page's own document started from its own scripts, each with a short-lived handle, and evaluates JavaScript in exactly the worker a handle names, never in the page or another worker. Results are bounded, a script still running at its deadline is stopped, and loading another page, a reload, a pause or the worker ending retires the handle instead of reaching another worker. Workers are never paused, and Hronaut's debugger leaves them again after each call.
  • Agents can test an app's passkey registration and sign-in on localhost without your fingerprint reader, security key or a system dialog. browser_virtual_passkey attaches a software authenticator to one tab for one exact localhost origin, so the app's own navigator.credentials calls create real credentials and real signatures its server can verify; configure can make user verification fail, and status counts what the authenticator did. It works only with a capability profile whose browser_virtual_passkey.origin constraint lists the exact origins; full-access credentials are refused. It starts only when every frame of the page is at that origin, and ends as soon as any frame starts loading another origin, when it expires (10 minutes by default, 30 at most), when agents are paused, the agent loses control or you click or type in the page, when Developer Tools open, and when you select Virtual passkey in the address bar. Other tabs and popups keep your real authenticators, credentials stay in memory only, and results never include credential IDs, keys or user names. A sign-in must name the credential, as after a username step: username-less sign-in does not work in Hronaut's browser.
  • Agents can find the code behind a DOM change, such as what disabled a button, emptied a list or closed a dialog. browser_dom_mutation_source arms a one-time capture on one element for an attribute change, a change below it or its removal, and returns the stack of the first matching change: function names, script addresses as origin and path, and positions, never values or page content. The page resumes at once, the breakpoint is removed after the first match, Hronaut's own snapshots and element lookups don't count as the change, and a navigation, a replaced element, a change of agent control, a renderer crash or opening Developer Tools invalidates it.
  • Agents can test date-dependent screens at a chosen moment, such as "today" in a date picker, a greeting or an expiry banner around a calendar boundary. browser_fixed_date stages an instant for one tab and its current origin; from the next page load within that origin, whoever starts it, the page's Date.now(), new Date() and Date() return it from the page's first script, while timers, animations, frames, workers and other tabs keep real time and time zone emulation still applies. Staging never reloads the page. The fixed clock does not move, so timeouts measured with Date can stall until it is reset. Loading another origin, a person clicking or typing in the page or a change of agent control disarms it instead of carrying it on, and reset leaves the open page's fixed Date until it reloads; status says which.
  • Agents can keep a page in its loading state for as long as they need to check it, then finish it with a known response. browser_network_routes with holdUntilReleased: true on a mock captures the page's next matching GET fetch or XMLHttpRequest to its own origin and holds it, so spinners, skeletons and disabled buttons stay on screen while the agent takes snapshots and screenshots; action: "release" then answers it with the mock response exactly once, and action: "cancel" fails it. A hold lasts at most holdSeconds (default 30, up to 120), a tab holds at most four requests, and action: "held" lists them without their URLs, headers or bodies. A hold that ends any other way (timeout, clearing request conditions, navigation, closing the tab or Hronaut, opening Developer Tools) fails the request instead of sending it to the real server.

Fixed

  • The window that shows a new wallet's recovery phrase is now in Hronaut's language, including its warning never to share the phrase and its I saved it and Not yet buttons. So are the window for choosing a video's audio (its title, button and file type) and the title of a tab's Developer Tools window. They used to stay in English in every language.
  • A new tab now shows its name in Hronaut's language, such as "Нова вкладка" or "Neuer Tab". This applies in the tab strip, Search tabs, the command palette, split view, the tab menu, the Undo notice after closing the tab, and Home, including while the tab's first page loads. It used to read "New tab" in English in every language. Agents still see the title "New tab", and Search tabs and the command palette find a new tab by the name you see.
  • A tab whose site could not be reached is now named in Hronaut's language, such as "Сайт недоступний" or "Website nicht erreichbar", instead of "Site unavailable" in every language. Agents see the same title, in the same language as the page problem they already receive.
  • When a website asks for a permission, Hronaut's prompt now names it the way Settings → Site permissions does, such as "Location" or "Clipboard read", in Hronaut's language. It used to show Chromium's identifier, such as "geolocation" or "clipboard-read". Requests to lock the mouse pointer or the keyboard, control MIDI devices, keep the screen on or keep site data in persistent storage now have names too, in the prompt and in Settings. A file access request also says "read access" or "write access" in Hronaut's language instead of "readable" or "writable", and its sentence now reads naturally in German, French, Spanish, Polish and Russian.
  • The status notice at the top of Settings → Wallets now shows an info icon, or a warning icon when wallets are off, like the notices in other settings sections. It used to show the letter "H".
  • Hronaut in Ukrainian, Russian, German, French, Spanish or Polish no longer shows the Wallets settings, the video recorder, capability profiles, the remote connections setting and Home's MCP readiness checks in English. About 400 strings in each language had never been translated; they now are, and a test fails when a language shows English labels or sentences again. In those languages, Settings → MCP security also no longer says that only processes on this computer can connect while authentication is off: like the English text, it now warns that other computers can too when remote access is on.
  • An agent's call on a tab no longer stays shown as running after Hronaut withholds its result because the agent's access changed while it ran, such as a capability profile expiring during a browser_pwa_lifecycle read. The activity now ends as failed.
  • Recording code coverage no longer freezes a page that contains a debugger statement. The page used to stop at the statement until coverage was stopped, so the report missed everything after it; it now keeps running. Opening Developer Tools still ends the recording, and they pause on the statement as usual.

Known issues

  • A panel opened in its own window keeps the operating system's tooltips instead of the themed ones.
  • While a notification such as Tab closed shows at the bottom of the page, the page does not get clicks or wheel scrolling in the area just around the notification, about 10 px on each side.
  • wallet_sendCalls batches are not atomic: when a later call is rejected, fails or reverts, the earlier calls stay on chain, as separate transactions would. A dApp that requires an atomic batch gets error code 5760. A batch whose transaction the network dropped while its nonce is still unused stays pending, and wallet_showCallsStatus is not supported.
  • An EVM node that lags behind for more than a minute, or has pruned old transactions, can make a mined transaction look replaced, so Hronaut reports it as failed.
  • A link or form on a dApp that starts a download, or that the server answers with no content, counts as leaving the page for wallet requests: Hronaut cancels the page's open wallet requests and returns it to its default network without a chainChanged event, although the page stays.
  • wallet_balance marks an allowance unlimited only at 2^160 − 1 or more, so a token that stores allowances in 96 bits, such as UNI, shows its maximum approval as a large amount.
  • Typed-data meta-transactions are recognized by type name, by a bytes call-data field named data, callData, calldata or functionSignature, or as a MetaMask delegation. One that uses another name and another field name is still signed on mainnet when Also sign typed data on mainnet is on, so that switch is not a general spending limit.
  • Wallet policies saved by 2.45.0 or earlier that list a token method (erc20., trc20. or nft.) do not sign token calls without a click. Remove such a policy and add it again with its token contract, or with Allow any token contract.
  • Websites' raw eth_sign, Solana and TRON requests still need a person to approve, even under a website sign-in policy, and typed data is signed without a click only by a dedicated agent wallet with the typed-data switch on.
  • Hronaut does not inject window.tronLink or window.tronWeb as a full TronWeb instance; Tron dApps that require TronLink specifically will not detect it.

What's Changed

  • Let wheel tests wait for the page to stop moving before scrolling by @Hronom in #967
  • Hold a mocked response until it is released by @Hronom in #968
  • Let agents stage a fixed Date for one tab by @Hronom in #969
  • Keep pages running through debugger statements while coverage records by @Hronom in #970
  • Bump mediabunny from 1.61.4 to 1.61.5 in the production-minor-patch group by @dependabot[bot] in #971
  • Capture the code behind the next change to one element by @Hronom in #972
  • Test passkey sign-in on localhost with a virtual authenticator by @Hronom in #974
  • Let read-only capability profiles save again by @Hronom in #976
  • End a tab activity whose result was withheld at the last check by @Hronom in #977
  • Evaluate JavaScript in a page's own dedicated workers by @Hronom in #975
  • Record expression values at a source line with logpoints by @Hronom in #979
  • Translate the wallet, video, capability and readiness strings by @Hronom in #980
  • Read Chromium's computed accessibility for one element by @Hronom in #978
  • Name a new tab in the interface language by @Hronom in #981
  • Show native wallet, audio and DevTools windows in the interface language by @Hronom in #982
  • Name an unreachable site's tab in the interface language by @Hronom in #983
  • Mark the Wallets status notice with the info or warning icon by @Hronom in #984
  • Name the permission a website asks for the way Settings does by @Hronom in #985
  • Name pointer lock, keyboard lock, MIDI, wake lock and persistent storage requests by @Hronom in #986
  • Close the failed-site language fixture through closeFixtureServer by @Hronom in #987
  • Release 3.3.0 by @Hronom in #988

Full Changelog: v3.2.0...v3.3.0