# Let an agent use a browser

Agents can drive a browser: read a page, click through a flow, fill a form, test the app they
just built. Each ticket gets its own **browser**, which you can watch live and take over
whenever it needs a person, such as a sign in, a second factor or a CAPTCHA. By default the
tickets on a board share one browser, so a sign in lasts, but each ticket only sees its own
tabs ([share one browser across tickets](#share-one-browser-across-tickets)).

## Before you begin

- **Settings > Connections > Built in browser** set to **Per ticket browser** (the default) for
  everything on this page except the last section.

## Watch the browser

The browser starts the first time the agent uses a browser tool on the ticket. From then on a
globe icon sits at the bottom right of the ticket (**This ticket's browser**), and the
browser shows as a row in the ticket's running tasks, where you can stop it.

1. Click the globe icon. The **Browser** panel opens like a browser: the tabs on top, then
   back, forward, reload and the address bar, and the page the agent is on, live.
2. Click the full screen icon for a bigger view, and **Minimize** (or Esc) to come back.

To start a browser before the agent does (to sign in ahead of time, say), pick **Start
browser** in the ticket's **...** menu.

The chip in the address bar tells you who drives: **Agent browsing** while the agent's run is
live, **You can drive** once it is not, **Your turn** when the agent parked for you. The page's
edge says it too: a glowing accent edge while the agent browses, with a pointer labelled
**agent** where it last clicked, and an amber edge when the page is yours.

**Result:** you see what the agent sees as it works.

## Take over for a sign in

An agent never asks for your password in the chat. When a site needs a person (a sign in, a
second factor, a CAPTCHA, a consent screen) it leaves the page open in the browser and parks the
ticket in **Your turn**, naming the site and the step.

![The Browser panel marked your turn, open on a sign in page, with Hand back at the bottom right](img/ticket-computer.png)

1. Open the ticket. The globe icon now reads **Open browser**; click it.
2. Click the page (or the keyboard icon, **Type in the browser**) and do the step: type your
   email and password, the code from your phone, solve the CAPTCHA. The back, forward and reload
   buttons and the address bar work as in any browser.
3. At the bottom, check the reply in **Reply when handing back** ("I am done in the browser, it
   is yours." unless you change it).
4. Click **Hand back**.

**Result:** the ticket goes back to **To Do** and the agent carries on, signed in. The browser
keeps its logins for the life of the ticket: stopping it (**More**, then **Stop the browser**,
then confirm) keeps them, and archiving or deleting the ticket deletes them.

To fill the sign in from a password manager instead of typing, add its extension to every
ticket's browser: [Use a password manager on a ticket's browser](password-manager.md).

## Share one browser across tickets

**Share the browser's sign-ins**, under **Settings > Connections > Built in browser**, decides
how many tickets drive one browser. A board can override it in its own settings.

| Choice | What it means |
| --- | --- |
| **Per board** (default) | Every ticket on the board drives one shared browser. You sign in once, and every ticket on the board is signed in. |
| **Every board** | One browser for every ticket on every board. |
| **Per ticket** | Each ticket gets its own browser, and you sign in again on each ticket. |

In a shared browser, each ticket still only sees its own tabs, plus the popups they open. The
agent, and the panel's tab strip, never see another ticket's tabs. No ticket can quit the
browser. **More**, then **Close this ticket's tabs** in the panel closes them, and so does moving the ticket to
Done (In Review keeps them); the board stops the browser once no ticket has a tab left in
it. The sign-ins stay for the next ticket.

> [!WARNING]
> In a shared browser, every agent in that scope acts with your signed in accounts. Signing
> out on one ticket signs out all of them. Downloads, site permissions and window size are
> shared too. Pick **Per ticket** for a board whose tickets must stay apart.

## Choose the browser session

**Settings > Connections > Built in browser** has one choice, **Built in browser session**:

| Session | What the agent gets | Use it when |
| --- | --- | --- |
| **Per ticket browser** (default) | Its own browser per ticket, kept for the life of the ticket, that you can watch and take over. Extensions you add load on every ticket's browser. | Almost always: you can see the work and step in for a sign in. |
| **Fresh isolated browser** | A new headless browser for every run, with nothing kept between runs and nothing to watch. | Throwaway browsing that must never carry a login or a cookie from one run to the next. |
| **Existing Chrome session** | Your own signed in Chrome tabs, shared on purpose through the official Playwright MCP Bridge extension (**Install the official Playwright MCP Bridge** under **Connect existing Chrome**). | The agent needs a session you already have and cannot sign in again in the ticket's browser. |

1. Open **Settings > Connections > Built in browser**.
2. Pick the session and click **Save**.

**Result:** the next run uses that browser. Runs already going keep theirs.

> [!WARNING]
> **Existing Chrome session** hands the agent the tabs you share, signed in as you. Anything you
> can do in them, the agent can do. Share only what you would let an agent use unattended.

## When the browser has shut down

A ticket's browser stops when it sits idle, or when you stop it yourself. When it stopped
while you were away, click **Open browser** on the ask (or **Start browser** in the ticket's
**...** menu): it starts again on the tabs it had open, so you do not have to retype a URL.
Blank pages and the browser's own pages are not reopened.

## If something goes wrong

### The browser is stopped.

Review, completion, retries and provider changes keep the existing browser and its tabs.
The board closes it when the ticket is archived, deleted or discarded. You can also stop it
yourself. To reopen a stopped browser, choose **Start browser** in the ticket menu: it
opens the tabs it had (see [When the browser has shut down](#when-the-browser-has-shut-down)).
Its profile keeps its logins after a manual stop or discard, but a crashed browser may lose
its open tabs. Archive and deletion remove a private browser profile.

### Disconnected from the browser.

The live view lost its connection. Click **Reconnect**.

### This tab stopped responding

The page got stuck (a script that never ends, or a dialog nobody can answer), so your clicks and
typing no longer reach it. Click **Reopen tab**: the board opens the same address in a fresh tab
and closes the stuck one. Your logins are kept. While the agent is working, it does this itself
when it next opens the browser, and says so on the ticket.

### Paused while this tab is hidden.

The live view pauses when the board's tab is not visible, to save work. Come back to the tab and
it resumes; the browser itself kept running.

## Related

- [Use a password manager on a ticket's browser](password-manager.md), to sign in without
  typing.
- [Answer what the board asks you](pending-action.md), for every other reason a ticket parks.
- [Follow and steer a running agent](steer-an-agent.md), for the terminal that sits beside the
  browser.
