Esta página todavía no está traducida, así que la ves en inglés.
ReferenciaCommandsDeveloper tools
turno browser
Developer tool: compare browser engines (needs turno-browser)
Usage:
turno browser identities [--json] list browser identities and whether they
are in use
turno browser add <id> [--timezone <zone>] [--locale <tag>] [--languages
<tag,...>] [--region <CC>] [--health-url <url> --health-text <text>]
[--browser <name|path>] [--dry-run]
create an identity (pinned to this time
zone) and print its mcp.toml block
turno browser show <id> [--json] an identity's settings, session health
and who holds it
turno browser set <id> [--timezone <zone>] [--locale <tag>] [--languages
<tag,...>] [--region <CC>] [--health-url <url>] [--health-text <text>]
[--health-selector <css>] [--health off] [--no-health] [--tabs-max <n>]
[--tabs-popups close|keep] [--tabs-park <duration>] [--tabs-close
<duration>] [--no-tabs] [--background-throttling true|false] [--settle
<duration>] [--resources normal|low|auto] [--block-trackers true|false]
[--block-types image,media,font] [--block-patterns <host|glob>,...]
[--no-block] [--cache] [--cache-max-size <size>] [--no-cache] [--humanize
auto|off|light|full|adaptive] [--cursor auto|on|off] [--notify true|false]
[--last-click true|false] [--sharing session|tabs] [--tab-lock-wait
<duration>] [--tab-lock-release <duration>] [--engine chrome|lightpanda]
[--attach auto|<dir>|<url>] [--record-flows true|false] [--record-traces
true|false] [--record-screenshots true|false] [--record-max-size <size>]
[--no-record] [--act] [--act-sampling true|false] [--act-provider
chat-completions] [--act-endpoint <url>] [--act-model <name>] [--act-key
keychain:<item>] [--act-max-steps <n>] [--act-max-tokens <n>]
[--act-timeout <duration>] [--no-act] [--captcha-provider task-api]
[--captcha-endpoint <url>] [--captcha-key keychain:<item>]
[--captcha-timeout <duration>] [--no-captcha] [--live true|false|auto]
[--live-wait <duration>] [--no-live] [--user-agent coherent|auto|off]
[--proxy-server <url>|off] [--proxy-username <name|keychain:item>]
[--proxy-password keychain:<item>] [--no-proxy] [--policy-file <file>]
[--allowed-domains <host,...>] [--disable <feature,...>] [--auto-submit
true|false] [--no-policy] [--browser
chrome|edge|brave|chromium|chrome-for-testing|<path>] [--force]
[--dry-run] [--json]
change an identity's identity.json (an
empty value removes a setting)
turno browser status [<id>] [--json] each identity at a glance: settings,
sign-ins, last use, which agents have it
turno browser doctor [--fix] [--no-launch] [--json]
check the browsers, a test launch and
every identity (browser, settings, lock,
sign-in), with fixes
turno browser install-browser [--dry-run] [--json]
download Chrome for Testing into your
user cache, for a machine without Chrome
(no admin)
turno browser reputation [<id>] [--json]
challenges each identity met per site
(captcha, verify it's you, block) and
their trend
turno browser vault add|list|remove|submit <id> ...
credentials browser_login fills without
showing them to the agent
turno browser record <id> [--flows] [--traces] [--screenshots] [--max-size
<size>] [--off] [--dry-run] [--json]
what an identity records (flows, traces,
screenshots); turn it on or off
turno browser flows <id> [<flow>] [--remove] [--dry-run] [--json]
an identity's saved flows; name one to
see its steps, --remove to delete it
turno browser replay <id> <flow> [--param <name=value>]... [--from <step>]
[--headless] [--json]
run a saved flow on the identity's
Chrome, without an agent
turno browser traces <id> [<recording>] [--open] [--segment <n>] [--json]
an identity's recordings (traces,
screenshots); --open shows a trace in
the viewer
turno browser live <id> [--no-open] [--tab] [--json]
watch the agent in an identity's browser
and take the controls (opens the live
view)
turno browser pause <id> [--json] pause the agent in an identity's
browser: its next call waits until you
resume
turno browser resume <id> [--json] give the browser back to the agent; each
waiting call is told what changed
turno browser export <id> --out <file> [--expires 7d] [--force]
write an identity's cookies and site
storage to a file encrypted with a
passphrase
turno browser import <file> [--as <id>] [--yes] [--dry-run]
replace an identity's session with an
export (asks first), or create it
turno browser remove <id> [--yes] [--dry-run] [--json]
delete an identity and everything it
left on this machine (asks first)
turno browser login <id> [--url <url>]
open the identity's Chrome to sign in by
hand once
turno browser do <id> <action> [args] [--session <name>] [--json]
one action on an identity's browser from
the shell: open, snapshot, click, type,
read...
turno browser bench [--engine <name>]... [--url <url>]... [--only-urls]
[--yes] [--json]
check how each browser engine loads
reference test pages and your URLs (asks
first)
A developer diagnostic for browser engine compatibility. It needs the separate
turno-browser package (npm install --global turno-browser).
Identities are persistent Chrome profiles served by turno-browser-mcp, one session at a time
through mcpd; turno identity manages them too (browser:<id>). Ids use lowercase letters,
digits, "-" and "_", for example "school".
turno browser do <id> <action> runs one action (open, snapshot, click, type, read...) on an
identity's browser through mcpd, for coding agents that prefer shell commands (do --help).
Examples:
$ turno browser identities
$ turno browser add school --languages es-MX,es,en
$ turno browser show school
$ turno browser set school --health-url https://mail.example.com/ --health-text Inbox
$ turno browser set school --tabs-max 5 --tabs-popups keep --settle 250ms
$ turno browser set school --block-trackers true --cache --json
$ turno browser set school --humanize light
$ turno browser set school --sharing tabs
$ turno browser login school --url https://example.com
$ turno browser status --json
$ turno browser doctor --fix
$ turno browser add work --browser brave
$ turno browser install-browser --dry-run
$ turno browser reputation school --json
$ turno browser vault add school mail --url https://mail.example.com --username alice
$ turno browser record school --flows --traces
$ turno browser flows school
$ turno browser replay school submit-timesheet --param password=keychain:school-password
$ turno browser traces school --open
$ turno browser set school --live true
$ turno browser live school
$ turno browser pause school
$ turno browser resume school
$ turno browser export school --out school.session --expires 2d
$ turno browser import school.session --as school-laptop
$ turno browser remove school --dry-run
$ turno browser remove school --yes --json
$ turno browser bench --only-urls --url https://example.com --yes
$ turno browser do school open https://example.com
$ turno browser do school snapshot
$ turno browser do school click e12
$ turno browser do school endSubcommands
turno browser identities
Usage:
turno browser identities [--json] list browser identities and whether they
are in use
Examples:
$ turno browser identitiesturno browser add
Usage:
turno browser add <id> [--timezone <zone>] [--locale <tag>] [--languages
<tag,...>] [--region <CC>] [--health-url <url> --health-text <text>]
[--browser <name|path>] [--dry-run]
create an identity (pinned to this time zone) and print its mcp.toml block
Examples:
$ turno browser add school --languages es-MX,es,en
$ turno browser add work --browser braveturno browser show
Usage:
turno browser show <id> [--json] an identity's settings, session health and
who holds it
Examples:
$ turno browser show schoolturno browser set
Usage:
turno browser set <id> [--timezone <zone>] [--locale <tag>] [--languages
<tag,...>] [--region <CC>] [--health-url <url>] [--health-text <text>]
[--health-selector <css>] [--health off] [--no-health] [--tabs-max <n>]
[--tabs-popups close|keep] [--tabs-park <duration>] [--tabs-close
<duration>] [--no-tabs] [--background-throttling true|false] [--settle
<duration>] [--resources normal|low|auto] [--block-trackers true|false]
[--block-types image,media,font] [--block-patterns <host|glob>,...]
[--no-block] [--cache] [--cache-max-size <size>] [--no-cache] [--humanize
auto|off|light|full|adaptive] [--cursor auto|on|off] [--notify true|false]
[--last-click true|false] [--sharing session|tabs] [--tab-lock-wait
<duration>] [--tab-lock-release <duration>] [--engine chrome|lightpanda]
[--attach auto|<dir>|<url>] [--record-flows true|false] [--record-traces
true|false] [--record-screenshots true|false] [--record-max-size <size>]
[--no-record] [--act] [--act-sampling true|false] [--act-provider
chat-completions] [--act-endpoint <url>] [--act-model <name>] [--act-key
keychain:<item>] [--act-max-steps <n>] [--act-max-tokens <n>]
[--act-timeout <duration>] [--no-act] [--captcha-provider task-api]
[--captcha-endpoint <url>] [--captcha-key keychain:<item>]
[--captcha-timeout <duration>] [--no-captcha] [--live true|false|auto]
[--live-wait <duration>] [--no-live] [--user-agent coherent|auto|off]
[--proxy-server <url>|off] [--proxy-username <name|keychain:item>]
[--proxy-password keychain:<item>] [--no-proxy] [--policy-file <file>]
[--allowed-domains <host,...>] [--disable <feature,...>] [--auto-submit
true|false] [--no-policy] [--browser
chrome|edge|brave|chromium|chrome-for-testing|<path>] [--force]
[--dry-run] [--json]
change an identity's identity.json (an empty value removes a setting)
Each flag writes one key of identity.json; an empty value (--settle "") removes it, and
--no-health, --no-tabs, --no-block and --no-cache remove a whole group. A flag of a group
changes only its part: the rest of that group stays. A key that is not in identity.json takes
its default at every launch (turno browser show <id> lists each value and where it comes from);
off pins a key off for good: --health off, --locale off, --user-agent off.
How the host runs this identity's Chrome (read at every Chrome start):
--resources normal|low|auto low: the preset for a machine short of memory (at most 2
tabs, idle tabs parked after 2m, Chrome closed after 5m
without a call, a note in tool results when memory runs
low); the flags below still win over it. auto (default):
low while the system reports memory pressure at launch
--tabs-max <n> most tabs open at once, 0 for no cap (default 8)
--tabs-popups close|keep close popups the agent did not open (default close)
--tabs-park <duration> park an unused tab on about:blank, "0" never (default 5m)
--tabs-close <duration> close an unused tab, "0" never (default 15m)
--background-throttling <bool> let Chrome slow tabs that are not in front (default: true
in a headless Chrome without the live view, else false)
--settle <duration> wait after each action for the work it started, "0" to "10s"
--block-trackers <bool> block a built-in list of ad and analytics hosts
--block-types <list> block image, media and font requests (never the page itself)
--block-patterns <list> block host names (and subdomains) or URL globs with *
--cache keep images, fonts, styles and scripts on disk (100MB)
--cache-max-size <size> the cache's size, "1MB" to "10GB"; turns the cache on
--sharing session|tabs "tabs" (default): every agent session at once, each in its
own locked tabs; mcp.toml then needs exclusive = false for the
identity's server. "session": one at a time (the default with
--attach)
--tab-lock-wait <duration> with tabs: how long a call waits for a tab another session
holds, "0" (fail at once) to "10m" (default 10s)
--tab-lock-release <duration> with tabs: a session without calls lets go of its tabs after
this, "0" (free between calls) to "24h" (default 5m)
Blocking without the cache turns Chrome's own HTTP cache off: use them together.
Input:
--humanize <level> auto (default): off on localhost and for read-only steps,
light for other actions, full on sign-in, payment and support
pages and on a site after a challenge page there; off, light
(the pointer travels a curve to a point inside the target,
keys typed with human delays), full (plus overshoot, reading
pauses, wheel scrolling) or adaptive (light, full after a
challenge page)
--cursor auto|on|off the agent cursor. auto (default): when the browser can be seen
(a window, or the live view), Chrome itself highlights what the
agent acts on and shows its clicks; nothing goes into the page.
on: an arrow with the agent's name that glides to what it acts
on, a ring, click ripples and a frame with a badge, drawn as an
element in each page that a page script can see. off: neither
--notify true|false the system's notifications when the agent waits for you (a
person step, a passkey, a captcha) or is done after a long
run. true (default); TURNO_BROWSER_NOTIFY=off also turns them off
--last-click true|false true (default): a click that buys, sends, publishes or deletes
is yours: the agent fills in the rest and asks you with
browser_request_human. false lets the agent click it
Which engine runs this identity (all off by default):
--engine lightpanda read mode: Lightpanda instead of Chrome, for reading pages;
needs lightpanda on PATH (turno browser doctor says how)
--engine camoufox Camoufox (a Firefox build) with its own profile; needs
Camoufox and playwright-core (turno browser doctor says how); no
captcha solving, and no picture in the live view
--attach auto|<dir>|<url> use the Chrome you have open instead of the identity's own:
"auto" is your default Chrome profile, after you turn on
chrome://inspect/#remote-debugging; Chrome asks you to allow
each connection, and the agent then sees all its windows
What turno-browser records for this identity (turno browser record):
--record-flows <bool> keep every session's actions as a flow (auto-<time>, newest
20; on by default)
--record-traces <bool> a Playwright trace of each browser session (turno browser traces);
by default only the traces with a failed step are kept
--record-screenshots <bool> a screenshot after each action (on by default, never of a
page that shows a vault value; not with attach or Lightpanda)
--record-max-size <size> cap of the traces and screenshots, "10MB" to "10GB" (default 200MB)
Vault sign-ins and passwords never reach a flow, a trace or a screenshot.
On when something answers them, for your own accounts only (they send page content to a
third party, and many sites' terms forbid them; the server lists their tools from its next start).
Without a provider, natural language actions (browser_act, browser_extract, browser_observe) use
your client's model (MCP sampling), else OPENAI_API_KEY or ANTHROPIC_API_KEY from the environment,
else the Claude Code CLI or Codex on the PATH; captcha solving needs a solver key, here or in
TURNO_BROWSER_CAPTCHA_ENDPOINT with TURNO_BROWSER_CAPTCHA_KEY, and otherwise goes to the person:
--act natural language actions in that order (the same as no group)
--act-provider chat-completions a model API to use when the client has no sampling, with
--act-endpoint <url> its base URL (https, or http on this machine),
--act-model <name> the model name it expects and
--act-key keychain:<item> its key in the secret store (turno secret set <item>)
--act-sampling <bool> false: never ask the client, always use the provider
--act-max-steps <n> most actions per call, 1 to 30 (default 10)
--act-max-tokens <n> most model tokens per call (default 50000)
--act-timeout <duration> longest call, "10s" to "10m" (default 2m)
--captcha-provider task-api solve captcha widgets (browser_solve_captcha) through a solver
--captcha-endpoint <url> service that speaks the createTask protocol, at this URL,
--captcha-key keychain:<item> with its account key in the secret store
--captcha-timeout <duration> longest wait for a solution (default 3m)
--no-act, --no-captcha remove the group: back to the order above
The live view and take-over (turno browser live, pause, resume):
--live <bool> serve a view of the agent's tab on 127.0.0.1 and let you pause
the agent to take the controls (from the next server start);
on by default, and the view opens only with turno browser live <id>
--live-wait <duration> how long a paused call waits for you, "5s" to "30m" (default 2m)
Network and user agent (for your own accounts and sites you may automate):
--user-agent coherent|auto|off coherent: the installed Chrome's own user agent and client
hints, with this identity's languages and time zone, checked
at every launch (a headless Chrome stops saying
HeadlessChrome). auto (default): coherent in a headless Chrome
only, dropped when the check fails. off: Chrome's own. turno
never takes a typed user agent
--proxy-server <url> send this identity's traffic through a proxy: http://,
https://, socks4:// or socks5://host:port; its operator sees
where you go, and sites see its address; off: no
proxy, not even the system's
--proxy-username <name> the proxy user name, or keychain:<item>
--proxy-password keychain:<item> the password, only from the secret store (turno secret set)
--no-proxy remove the proxy (Chrome follows the system's)
What the identity may do (a policy; only this command writes it, no agent tool can):
--policy-file <file> the whole policy from a JSON file, like
{"allowedDomains": ["example.com", "*.example.com"],
"disabled": ["captcha"], "autoSubmit": false}
--allowed-domains <list> the hosts its pages may show: example.com, *.example.com
(subdomains), localhost:* (any port), host:8443; every
navigation of every tab is checked, a page's own scripts,
images and data are not
--disable <list> features that do not exist for it: act, captcha, login, totp,
attach, evaluate, run_code, network
--auto-submit false browser_login never submits, whatever vault submit says
--no-policy remove the policy
Any policy turns browser_run_code_unsafe off, and allowedDomains the network tools. The server
reads the policy when it starts.
Which browser opens the profile (read at every browser start; turno browser doctor lists the installed ones):
--browser <name|path> chrome (the default), edge, brave, chromium, chrome-for-testing
(turno browser install-browser downloads it, no admin password), or the
absolute path of another Chromium-based browser. A server's own
--browser or --executable-path wins over it
--force switch the browser of a profile another browser already opened:
the cookies carry over with the default keychain, but the new
browser rewrites the profile and an older one can refuse it
Examples:
$ turno browser set school --health-url https://mail.example.com/ --health-text Inbox
$ turno browser set school --tabs-max 5 --tabs-popups keep --settle 250ms
$ turno browser set school --block-trackers true --cache --json
$ turno browser set school --humanize light
$ turno browser set school --sharing tabs
$ turno browser set school --live trueturno browser status
Usage:
turno browser status [<id>] [--json] each identity at a glance: settings,
sign-ins, last use, which agents have it
Only reads. For each identity: its profile, a summary of identity.json, who holds it, the
vault's sites, the last sign-in by hand, the host names the profile holds cookies for (never their
values; not read while Chrome has the profile open), when it last served a tool call, and the
agents whose config has it.
Examples:
$ turno browser status --jsonturno browser doctor
Usage:
turno browser doctor [--fix] [--no-launch] [--json]
check the browsers, a test launch and every identity (browser, settings,
lock, sign-in), with fixes
Examples:
$ turno browser doctor --fixturno browser install-browser
Usage:
turno browser install-browser [--dry-run] [--json]
download Chrome for Testing into your user cache, for a machine without
Chrome (no admin)
Downloads Chrome for Testing, the Chrome build Google publishes for automation, with the
installer of the patchright-core turno-browser drives it with, into your user cache:
~/Library/Caches/ms-playwright on macOS, ~/.cache/ms-playwright on Linux, or
PLAYWRIGHT_BROWSERS_PATH. No admin password and no change outside that folder; about 190 MB.
For a machine without Google Chrome, Edge, Brave or Chromium. Then point an identity at it:
turno-browser add <id> --browser chrome-for-testing
turno-browser set <id> --browser chrome-for-testing
Its limits: it does not update itself (run this again after updating turno-browser), it is one
major version behind Chrome stable at times, and Google publishes it for testing and
automation, not as an everyday browser. Sign-in pages load in it like in Chrome.
Examples:
$ turno browser install-browser --dry-runturno browser reputation
Usage:
turno browser reputation [<id>] [--json]
challenges each identity met per site (captcha, verify it's you, block) and
their trend
Examples:
$ turno browser reputation school --jsonturno browser vault
Usage:
turno browser vault add <identity> <site> --url <sign-in page> [--url
<url>]... [--username <name>] [--totp] [--dry-run]
store a site's username, password and optional TOTP secret (asked hidden, or
on stdin)
turno browser vault list <identity> [--json]
the sites in an identity's vault (never the values)
turno browser vault remove <identity> <site> [--dry-run]
delete a site's credentials
turno browser vault submit <identity> <confirm|auto> [--dry-run]
let browser_login submit the form (auto) or leave the click to the agent
(confirm, default)
The vault keeps a username, a password and optionally a TOTP secret per site for one
browser identity, only in the secret store (the macOS Keychain or the Linux Secret Service).
The browser_login tool fills them into the site's sign-in page without the agent seeing them,
and only on the origins given with --url. In a terminal the password and the TOTP secret are
asked with hidden prompts; from a pipe, the first line of stdin is the password and, with
--totp, the second line is the TOTP secret (base32, or the otpauth:// URI of the QR code).
Examples:
$ turno browser vault add work github --url https://github.com/login --username alice --totp
$ printf '%s\n' "$PASSWORD" | turno browser vault add work mail --url https://mail.example.com --username alice@example.com
$ turno browser vault list work
$ turno browser vault list work --json
$ turno browser vault submit work auto
$ turno browser vault remove work github --dry-runturno browser record
Usage:
turno browser record <id> [--flows] [--traces] [--screenshots] [--max-size
<size>] [--off] [--dry-run] [--json]
what an identity records (flows, traces, screenshots); turn it on or off
With no flag, shows what the identity records and where. --flows, --traces and --screenshots
turn those on (the next Chrome start uses them), --off turns everything off; turn one off with
turno browser set <id> --record-traces false. All are off by default.
flows every session's actions saved as a flow (auto-<time>, newest 20 kept)
traces a Playwright trace of each browser session (turno browser traces)
screenshots a screenshot after each action
Vault sign-ins never reach a flow, a trace or a screenshot: the trace stops before a fill and
starts again after the page navigates, and a password or one-time code is never saved.
Examples:
$ turno browser record school --flows --tracesturno browser flows
Usage:
turno browser flows <id> [<flow>] [--remove] [--dry-run] [--json]
an identity's saved flows; name one to see its steps, --remove to delete it
Examples:
$ turno browser flows schoolturno browser replay
Usage:
turno browser replay <id> <flow> [--param <name=value>]... [--from <step>]
[--headless] [--json]
run a saved flow on the identity's Chrome, without an agent
Runs the flow through turno-browser-mcp, the same way an agent's browser_replay does. A
sensitive parameter is never a value on the command line: pass --param <name>=keychain:<item>
(store it once with turno secret set <item>), or type it at the hidden prompt. When a step fails,
the report says which locators it tried; --from continues at a later step.
Examples:
$ turno browser replay school submit-timesheet --param password=keychain:school-passwordturno browser traces
Usage:
turno browser traces <id> [<recording>] [--open] [--segment <n>] [--json]
an identity's recordings (traces, screenshots); --open shows a trace in the
viewer
--open serves the trace on 127.0.0.1 with the trace viewer patchright-core ships and opens it
in your default browser; Ctrl-C stops it. A recording has one trace per stretch of activity (a
vault sign-in or the idle limit ends one): --segment picks one, the last by default.
Examples:
$ turno browser traces school --openturno browser live
Usage:
turno browser live <id> [--no-open] [--tab] [--json]
watch the agent in an identity's browser and take the controls (opens the
live view)
Shows what the agent is doing (paused or not, its tabs) and opens the live view as an app
window of your Chromium browser (your default one, else Google Chrome; --tab opens a tab of the
default browser instead): the agent's tab as a picture next to a timeline of its steps, and Pause
and Hand back buttons. Your clicks, keys and scrolls on the picture go to the page; while the agent
works they take the controls first, and it goes on a few seconds after your last input. The view
is served on 127.0.0.1 only; the link it opens works once. On by default for a server with an
identity: turno browser set <id> --live false turns it off.
Read mode (Lightpanda) has no pixels, attach mode is your own Chrome, which you already see, and
Camoufox (Firefox) has no Chrome screencast: there the view is off, and pause and resume still work. A page that holds a vault or password
value is never shown until it navigates.
Examples:
$ turno browser live schoolturno browser pause
Usage:
turno browser pause <id> [--json] pause the agent in an identity's browser:
its next call waits until you resume
A call that is running finishes; the next one waits up to the identity's live wait (2m by
default), then fails and tells the agent you still have the browser. A batch or replay stops at its
next step. In a headed Chrome the agent's tab comes to the front. Needs the live view on.
Examples:
$ turno browser pause schoolturno browser resume
Usage:
turno browser resume <id> [--json] give the browser back to the agent; each
waiting call is told what changed
The waiting calls go on. Each starts with a note: how long the pause lasted and what changed
(the current tab's URL and title, tabs opened and closed, your input in the view). When something
changed, a call that does more than read does not run, and the agent gets a fresh snapshot instead.
The live view's Hand back button does the same.
Examples:
$ turno browser resume schoolturno browser export
Usage:
turno browser export <id> --out <file> [--expires 7d] [--force]
write an identity's cookies and site storage to a file encrypted with a
passphrase
Examples:
$ turno browser export school --out school.session --expires 2dturno browser import
Usage:
turno browser import <file> [--as <id>] [--yes] [--dry-run]
replace an identity's session with an export (asks first), or create it
Examples:
$ turno browser import school.session --as school-laptopturno browser remove
Usage:
turno browser remove <id> [--yes] [--dry-run] [--json]
delete an identity and everything it left on this machine (asks first)
Deletes everything turno-browser keeps for the identity, after it shows the list and asks:
- it stops the identity's background server, a Chrome on its profile and the
turno-browser-mcp processes started for it (nothing is deleted while one still runs)
- it takes the identity's MCP server out of each agent that has it, with the agent's own
command (claude mcp remove --scope user browser-<id>, codex mcp remove ...)
- it deletes the vault's credentials and the keychain: items identity.json references from
the secret store, unless another identity or turno's mcp.toml uses them too
- it deletes the profile, identity.json, the vault index, the state folder, saved flows and
the session exports it wrote
--yes deletes without asking; without a terminal it is required. --dry-run shows the list.
Afterwards it checks that nothing is left. Exit codes: 0 all gone, 1 something is left (--json
lists it under left, with the step that removes it), 2 no terminal and no --yes.
Examples:
$ turno browser remove school --dry-run
$ turno browser remove school --yes --jsonturno browser login
Usage:
turno browser login <id> [--url <url>]
open the identity's Chrome to sign in by hand once
Examples:
$ turno browser login school --url https://example.comturno browser do
Usage:
turno browser do <id> <action> [args] [--session <name>] [--json]
Runs one action on the identity's browser through mcpd and turno-browser-mcp, the server
agents use, so the identity's rules apply as they do to an agent's tool call. The identity must
be served by mcpd (its [server.browser-<id>] block in mcp.toml, which turno browser add prints).
Actions:
open <url> go to a URL in the session's tab
back go back in the tab's history
snapshot [<ref>] [--depth <n>] the page's accessibility tree with
refs (e12) to act on; <ref> limits it
to one element
read [<ref>] [--max-chars <n>] the visible text of the page or one
element (first 20000 characters;
--max-chars 0 for all)
find <text> elements whose text matches, with
their refs
click <ref> [--double] [--right] click an element
type <ref> <text|-> [--submit] [--slowly]
fill a field (- reads the text from
stdin); --submit presses Enter after
press <key> press a key (Enter, Escape, ArrowDown,
Control+a)
select <ref> <value>... choose options of a select element
hover <ref> move the pointer over an element
wait [--text <t>] [--gone <t>] [--seconds <n>]
wait for text to appear or go, or for
some seconds
screenshot [--out <file.png>] [--full] save a PNG of the tab (default: a file
in the temporary folder) and print its
path
tabs [new [<url>] | select <n> | close <n>]
the browser's tabs (others' marked in
use), or open, pick or close one
login <site> sign in with a vault credential (turno
browser vault); the value never
reaches the shell
call <tool> [--args <json>] [--arg key=value]...
any tool of the identity's server, in
this session (browser_batch,
browser_fill_form...)
close close the session's tabs (the whole
browser when it serves one session)
and end the session
session which session these commands use, who
owns it and how it ends
end end the session now: its tabs stay
open and free, the browser keeps
running
Refs (e12) come from the last snapshot; take a new one after the page changes.
Session: the commands one agent or one terminal shell runs are one session, so they keep their
tab and their place in the tab locks ("sharing": "tabs") or hold the identity's one-session lease
("sharing": "session"). The session belongs to the process that runs the commands: the coding
agent (each of its shell commands passes through a short-lived shell) or your terminal's shell.
It ends when that process exits, with 'end' or 'close', or when mcpd restarts. --session <name>
(or TURNO_BROWSER_SESSION) keeps several sessions apart under one owner, for example two
subagents each in its own tab.
Output: url: and title: lines, then what the action returned; errors go to stderr with exit 1.
--snapshot after an action prints the snapshot too; --json prints one object.
--timeout <seconds> (default 120) bounds one action; attach mode can wait for Chrome's consent
dialog. --profile picks the profile whose token and tool filter apply (default: this folder's).
Examples:
$ turno browser do school open https://example.com
$ turno browser do school snapshot
$ turno browser do school click e12
$ turno browser do school type e5 'alice@example.com' --submit
$ turno browser do school read
$ turno browser do school screenshot --out page.png
$ turno browser do school endturno browser bench
Usage:
turno browser bench [--engine <name>]... [--url <url>]... [--only-urls]
[--yes] [--json]
check how each browser engine loads reference test pages and your URLs (asks
first)
Examples:
$ turno browser bench --only-urls --url https://example.com --yes