docs
Attach to a running browser
Drive a Chrome or Electron window over its DevTools port, attach to a window that is already open, or keep runs in a background tab.
Raw Markdown·Source at the pinned commit
Open windows and Electron apps
The CLI drives a window you have open through the extension: --attach takes over the first window and
--target-match TEXT picks one by title or URL, and neither opens a DevTools port. Without --start the run begins
on whatever the window shows, and the window stays open afterwards. Popups the window opens join the run.
An Electron app, or a browser you start with --remote-debugging-port, has no extension, so drive it from an SDK
with cdp_url= or cdp_port=, attach=True and target_match= (see Embed it). The CLI
refuses --cdp-url and --cdp-port. A DevTools port gives any program on the machine full control of the app and
its sessions: close the app, or restart it without the flag, when you are done.
Related guides
- Connect an agent to a running Chrome over CDP
Drive signed-in Chrome through the fastbrowse extension, or connect an SDK to an Electron app over its DevTools port.
hosted
Run fastbrowse over an API
The same agent behind an API. Keys, secrets, run history and spend limits live in the console. Free to start.