Skip to content

Releases

browser-cli 0.2.19

Choose a tag to compare

@github-actions github-actions released this 27 Nov 17:15
  • The README, the benchmark page and its charts report the 2026-11-27 run: browser-cli 0.2.18 against each other tool's latest release (Browser Use 1.0.9, browser-harness 0.1.15, agent-browser 0.45.0). browser-cli took 13.9 s and $0.056 per task with 82k tokens, against 17.8 s and $0.061 for Browser Use; every run's record is in bench/results/2026-11-27/, and the morning's 0.2.17 pass, which led to the --grep change in 0.2.18, is in bench/results/2026-11-27-0.2.17/. No change to the CLI itself.

browser-cli 0.2.18

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:25
  • browser text --grep cuts long lines. On an article a line is a whole paragraph or a reference, so a match kept it whole along with two more like it: on 2026-11-27 one --grep "Argentina won|champions" on Wikipedia's 2022 World Cup page printed 105 lines and 18,144 characters, and browser-cli's Wikipedia task cost $0.11 against about $0.05 for the other tools. A matching line over 240 characters now keeps the 240 around its first match, and a context line over 120 its first 120, each marked … where text was cut. Short lines, such as table rows, infoboxes and forms, and values read with --css … --attr, such as links, print as before. For a whole paragraph, use --css or text without --grep.

browser-cli 0.2.17

Choose a tag to compare

@github-actions github-actions released this 24 Nov 20:33
  • The README, the benchmark page and its charts report the 2026-11-24 run: browser-cli 0.2.16 against each other tool's latest release (Browser Use 1.0.8, browser-harness 0.1.14, agent-browser 0.44.0). browser-cli took 13.8 s and $0.047 per task, against 15.8 s and $0.051 for Browser Use; every run's record is in bench/results/2026-11-24/. The comparison table now says browser-harness gives each agent its own tabs from 0.1.14. No change to the CLI itself.

browser-cli 0.2.16

Choose a tag to compare

@github-actions github-actions released this 16 Nov 12:48
  • browser doctor checks the install itself. It asks your shell (zsh, bash or fish) what browser runs and names the rc file and line of an alias or function that gets there first, lists every browser on PATH with its version and which one wins, compares with the latest release on npm and with the browser.device hub, and prints the fix for each finding without editing rc files. The launcher npm, pnpm, yarn or bun puts on PATH counts as this install. A global npm or bun install runs the shell and PATH checks once, unless BROWSER_NO_UPDATE_NOTIFIER=1 or a CI variable is set. In a terminal, ordinary commands print one line when something shadows browser, the hub runs another version or a newer release is out, checked at most once a day; BROWSER_NO_UPDATE_NOTIFIER=1 hides it, and it never prints in CI, under --json or when output is piped. On 2026-11-16 an alias in a .zshrc sent every browser call to a removed command, and the fallback copy on PATH was 0.1.24 while the hub ran 0.2.15; nothing said so.
  • The skill tells an agent what to do when a site defeats it: say what failed, offer to report it, and on a yes open a prefilled GitHub issue in the user's browser (browser show) for them to check and submit. The agent never files it itself, and the report carries the task, the command and the error it printed, the version, browser and OS, and no page text, account names, tokens or full URLs.
  • browser show says whether the person can see the page. On 2026-11-16 a show printed {"profile":"arc-work","device":"zion","reused":false} while the tab sat unselected in Arc behind VSCodium, and the agent told the person the page was open. Now --json carries visible (true only when the tab is selected in its app's front window and that app is in front), frontmost (the app in front, or unknown off macOS), app and notification, and the line reads Opened in Arc (arc-work) on zion (behind VSCodium); notification sent: <url>. When the page is not in front on macOS, a notification Page ready in Arc: <title> goes out; with terminal-notifier installed, clicking it brings Arc up on the page, and without it the notification only tells. On macOS nothing raises or activates a window. A page opened by the OS default handler (--os-browser, an unusable viewer, or a screenshot or recording) is never reported visible, since nothing can ask that app which tab is showing; it says why and still notifies. The front window is AppleScript's window 1; macOS cannot say which desktop Space it is on, so a front window on another Space, or full screen in one, still counts. On Windows and Linux visible is always false and frontmost is unknown, and the OS handler or a new tab may raise the browser.
  • show selects the tab it opened or reused. In Arc it never switches Spaces, since that can bring Arc forward: a tab in a Space its window is not showing stays unselected, --json reports visible: false with hiddenSpace and hiddenWhy (the tab is in Arc Space Work, which is not the one showing), the line reads Opened in Arc (arc-work) on zion, Space Work (not the one showing), behind VSCodium; notification sent: <url>, and the notification still goes out. In Chrome, Brave and other Chromium browsers on macOS it selects through the app's AppleScript, not CDP's Target.activateTarget, which raised the window over the app in use. When another tab, a task's included, shows the same page, the viewer tab is found by a one-off title and a task's tab is never selected. Off macOS a reused tab is reloaded but no longer activated, since Target.activateTarget is the only way to select it and it raises the window. The OS default handler opens in the background on macOS (open -g), and the app in front is read only once the handler app has finished launching (up to 5 s, else unknown).
  • A caller whose browser.device hub runs an older browser-cli reports visible: false and frontmost: "unknown" with the reason, instead of a bare success.

browser-cli 0.2.15

Choose a tag to compare

@github-actions github-actions released this 15 Nov 02:18
  • A relay refusal over --device names its reason. Rush's relay answers {"error": "<message>", "code": "<CODE>"}, but the relay client read error.code and error.message as if error were an object, so every refusal printed only its status: on 2026-11-14 a cloud run's browser start --device zion failed with HTTP_409: relay refused the request and then HTTP_403, which hid whether the Mac was offline (DEVICE_OFFLINE), the person had not approved the run (DEVICE_REFUSED: APPROVAL_DENIED …) or the browser was off on it. The test relay now answers in that real shape.

browser-cli 0.2.13

Choose a tag to compare

@github-actions github-actions released this 14 Nov 05:29
  • Each line of the action log (logs/actions/<day>.jsonl) also records how the request was served and by what: code, the class of the error that failed it unless it is a plain Error (for example ArcNativeCapabilityError), backend (cdp, arc-native or bidi), and the cli and daemon versions. Before, a failure carried only its message, so telling an Arc refusal from a timeout, or a command run on an older service, meant matching message text.

browser-cli 0.2.12

Choose a tag to compare

@github-actions github-actions released this 14 Nov 05:03
  • An Arc refusal names what to do in Arc. Native Arc does not support <capability>. used to end with "Use a configured browser with that capability", which the browser skill tells agents never to do. It now ends with a Next: line: click by ref (browser refs, then browser click <ref>) for click --at and click --text, and a form's submit button by ref for press; browser text for console or network capture; one synchronous expression for async evaluate. press, hover, click --at and scroll --at-x/--at-y are refused under those names instead of trustedInput, in Arc and Firefox.
  • When the service is older than the CLI, the warning printed on every command says what that means: commands run on the older service, without the fixes since its version. It no longer says to run browser stop --service unconditionally, since a restart cuts off every agent's running commands, recordings and console and network captures (their tasks come back). It says to restart when a command fails or misbehaves and no other agent is using the browser.

browser-cli 0.2.11

Choose a tag to compare

@github-actions github-actions released this 14 Nov 04:40
  • --snapshot on navigate, click, type, select, press and start also saves a compressed screenshot, the same JPEG of about 100 KB or less that browser screenshot saves under sessions/<task>/, and prints screenshot: <path> under the page title (snapshot.screenshot in --json and stream). Native Arc skips it: capturing there takes the Arc lock, selects the tab and refuses tabs in your own window, so a --snapshot that succeeds today would fail after its action had run. --snapshot used to print text only, so an agent needed a second call to see the page, and browser sessions listed 0 captures for a task driven only with --snapshot.
  • browser wait works in Arc and Firefox. It used to refuse every condition outside a Chromium-family browser, even --time, with "Native Arc does not support asyncEvaluate", so an agent in Arc that waited for a page to load failed on every call and some retried hundreds of times. Each condition is now checked through evaluate, which every browser supports, and --time just pauses. A wait that times out names the next step: browser snapshot to see the page, or a longer --timeout.

browser-cli 0.2.10

Choose a tag to compare

@github-actions github-actions released this 12 Nov 16:43
  • npm's homepage link and the README point at the product page, phoenix.so/browser; phoenix.so/browser-cli is now the launch story.
  • Each open VS Code or VSCodium window running the Agents extension is a profile: browser profiles list shows it as <editor>-<folder> (for example vscodium-my-app, labeled VSCodium window "my-app"), and browser start --profile vscodium-my-app --url … opens the page as a tab in that editor, beside the user's work, where they can watch or type a captcha. The extension serves the window's built-in browser over a loopback WebSocket and announces it in ~/.agents/browser/run/editors/<id>.json (0600) with the port and a token. The token is the proof of ownership, so an editor profile has no --user-data-dir check, and a closed window's profile is not hostable here. The session sees only the tabs its tasks open, never the user's own editor tabs. The profile names the window, not a port, so once used it keeps working after the editor restarts; while the window is closed it is simply not hostable. Nothing picks an editor profile on its own: the user or their instructions name it.

browser-cli 0.2.9

Choose a tag to compare

@muqsitnawaz muqsitnawaz released this 12 Nov 13:50

Changes since 0.2.6. Install: npm install -g @phnx-labs/browser-cli

0.2.9

  • browser text puts the page's scroll position back when the page is too busy to answer while it loads lazy parts. If the first check scrolled an include-fragment into view and then timed out, the page was left scrolled to it.
  • The README opens with what the tool is for, and npm lists a description and keywords.

0.2.8

  • browser click in a tab that is not the selected one takes 0.2 s again, not 10 s. Tasks open as tabs of one window, so when several agents share a browser every task but the newest is in the background, and Chrome holds each mouse move sent to a background tab for 5 s while delivering a press at once. Since 0.2.3 a click moved the mouse twice before pressing, so each click by every other agent waited 10 s, and in the 2026-11-07 several-agents test browser-cli took 83 s per trial against 27 to 54 s for the other tools. In a background tab the click now presses without the moves, and it is still a trusted mouse click. Without the moves, a background tab no longer checks whether the mouse reaches the element or whether hovering opens something over it; if the press does not land, the click reports it, as it already did for a swallowed click.

0.2.7

  • browser done and browser stop while a task is recording finish the recording first. They closed the tab and left ffmpeg encoding the last frame until the duration cap: the file stayed empty (0 bytes) until then and came out as long as the cap (60 s for a 4 s task by default), and a new start --record with that task's name was refused as already recording. Stopping a whole profile finishes its tasks' recordings too.
  • browser record captures a task whose tab is not the one selected in the window. Tasks open as tabs of one window, and Chrome stops painting a tab that is not selected, so recording an earlier task froze on its first frame, and record start on a task already in the background failed with Chrome produced no screencast frame within 5s. While it records, the tab now has focus emulation on, so Chrome keeps painting it; this is turned off when the recording stops. Screenshots were not affected.
  • browser console, browser errors, browser requests and browser responsebody capture again on Chrome, Brave, Edge, Comet and other Chromium browsers. Since the first open-source release they returned No console logs, No errors and No requests captured, and responsebody timed out, even on a page that logged, threw and fetched every half second: their listeners read the session id from the event's params, where Chrome never puts it, so every event was dropped. They now read it where Chrome sends it, as the screencast and dialog listeners already did. Firefox and native Arc are unchanged.
  • browser pdf <output> saves to the path you give it. It always saved under the task's sessions/<task>/ folder and printed that path, whatever path you passed, relative or absolute, while screenshot -o honored its path. The PDF is now copied to the requested path, relative to where you ran the command, the same way screenshot -o does. Run against another machine with --device, the PDF is copied back to that path on this machine. With no path, it still saves under the task and prints the Tip: auto-saving to … line.
  • browser upload -f <file> uploads an ordinary file. It refused every file outside its internal staging folder with Stage files via 'browser upload-stage <path>' first., and browser upload-stage was never a command, so no file could be uploaded from the CLI. upload now copies the files into a new private folder under ~/.agents/browser/cache/uploads/ itself and hands Chrome those copies, so the page still never reads your live file. The copies are deleted when they are no longer needed: right away after a drop or a failed upload, and, for a file input or file chooser, whose file Chrome reads when the page submits it, when the task closes (done, stop, or the idle cleanup), even after the browser service restarts. The page now receives the file under its own name; staged copies used to get random names such as 292fda02c084c0af.txt. A relative path is still refused with Upload path must be absolute, and a directory with Upload path is not a file.