usage: fastbrowse [-h] [--version] [--start START] [--context CONTEXT]
                  [--cloud | --local] [--headed]
                  [--profile PROFILE] [--cloud-profile ID] [--cdp-url URL]
                  [--cdp-port PORT] [--attach] [--target-match PATTERN]
                  [--foreground] [--proxy-country CC]
                  [--viewport WIDTHxHEIGHT] [--authorize]
                  [--secret NAME=ENV_VAR[@ORIGIN]] [--bitwarden ITEM]
                  [--input NAME=VALUE] [--file PATH] [--max-steps MAX_STEPS]
                  [--max-dollars MAX_DOLLARS] [--downloads DOWNLOADS] [--json]
                  [--record FILE] [--recipe FILE] [--save-recipe FILE]
                  [--fetch] [--browser] [--extension]
                  [--extension-browser LABEL] [--trace FILE]
                  [--cursor | --no-cursor]
                  task

Run one browser task in your own Chrome through the fastbrowse extension.

positional arguments:
  task

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --start START         URL to open before the task starts; a missing scheme
                        gets https (http for localhost); worked out from the
                        task if omitted
  --context CONTEXT     background the run may use but never treats as part of
                        the task, such as where the request came from
  --cloud               use Browser Use Cloud instead of the extension
  --local               use your own Chrome through the extension (the default)
  --headed              unsupported: local CLI browsing requires the extension
  --profile PROFILE     unsupported: use a profile with the extension installed
  --cloud-profile ID    a Browser Use Cloud profile to run signed in as
                        (requires --cloud)
  --cdp-url URL         unsupported in the CLI: use the SDK for CDP connections
  --cdp-port PORT       unsupported in the CLI: use the SDK for CDP connections
  --attach              attach to an existing page/window without creating a
                        new tab or closing it on exit
  --target-match PATTERN
                        substring match on page title or URL when attaching to
                        an existing window (implies --attach)
  --foreground          bring the run's tab and its browser window to the
                        front, to watch it; otherwise a visible window stays
                        in the background
  --proxy-country CC    country the cloud browser browses from, as Browser
                        Use's two-letter code, e.g. uk (default: us;
                        requires --cloud)
  --viewport WIDTHxHEIGHT
                        screen size requested from cloud Chrome (requires
                        --cloud); this does not
                        emulate mobile, touch, device scale, or user agent
  --authorize           allow irreversible actions without confirmation
  --secret NAME=ENV_VAR[@ORIGIN]
                        secret from an environment variable, scoped to ORIGIN
                        or the --start origin (repeatable)
  --bitwarden ITEM      type this vault login's username, password and
                        authenticator code (rbw, or an unlocked bw CLI)
  --input NAME=VALUE    a named value the task can refer to, typed into a field
                        by name, so a recipe types the next run's value
                        (repeatable)
  --file PATH           a local file the run may attach to a file input on the
                        page (repeatable)
  --max-steps MAX_STEPS
                        optional step limit (default: no step limit)
  --max-dollars MAX_DOLLARS
                        optional model-spend limit in USD, excluding browser
                        charges
  --downloads DOWNLOADS
                        directory for downloaded files
  --json                print the full result as JSON
  --recipe FILE         replay a saved run: each saved step runs through the
                        gates where its page and control match, then the
                        driver carries on
  --save-recipe FILE    save the steps of a completed run as recipe JSON
  --record FILE         save a captioned video of the run, ending on its
                        answer, and an uncaptioned copy beside it with .plain
                        before the extension, e.g. run.plain.mp4 (needs
                        ffmpeg); --fetch, which starts no browser, cannot
                        record
  --fetch               never start a browser: a step that needs one ends the
                        run blocked
  --browser             start a browser from the first step, rather than reading
                        over HTTP until the run needs one
  --extension           run in your own Chrome (the default), signed in, through
                        the fastbrowse extension (see: fastbrowse extension
                        install)
  --extension-browser LABEL
                        which browser to use when the extension is connected
                        in more than one, by the label its popup shows
                        (implies --extension)
  --trace FILE          append the run's trace to FILE as JSON lines, or - for
                        stderr: every model call with its purpose and timing,
                        which reader answered each read and why, and every
                        check's scores (also FASTBROWSE_TRACE)
  --cursor              draw the agent's cursor in every run, even one nobody
                        watches
  --no-cursor           do not draw the agent's cursor (by default it is
                        drawn in the page wherever the page can be seen: a
                        visible Chrome, a live view or a recording)

Refused together: --fetch starts no browser, so it refuses --browser, --cloud,
--local, --extension, --extension-browser, --headed, --profile,
--cloud-profile, --cdp-url, --cdp-port, --attach, --target-match,
--foreground, --proxy-country, --viewport, --record, --recipe, --save-recipe,
--downloads, --cursor, --secret, --bitwarden, --input, --file and --authorize.
--cloud refuses --headed, --profile, --cdp-url, --cdp-port, --extension,
--extension-browser, --attach and --target-match.

Update: fastbrowse self-update names how this copy was installed and the
command that upgrades it.

Exit codes: 2 usage error; 0 complete; 1 error; 3 needs_confirmation; 4
needs_login; 5 needs_input; 6 blocked; 7 budget_exceeded; 8 unavailable; 9
stuck; 10 unverified; 11 observation_limit
