> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# In-app browser

> Browse any site, local dev server, or Devin Cloud port in a Devin Desktop Browser tab with persistent cookies, element selection, and agent browser control.

The **Browser** tab opens web pages, local dev servers, and Devin Cloud exposed ports inside a Devin Desktop session. It works side by side with the chat in both the Agents view and the IDE.

> [!NOTE]
>
> For proxy-based previews on SSH or WSL hosts and third-party [ACP agents](https://docs.devin.ai/desktop/acp.md), see [Devin Desktop Previews](https://docs.devin.ai/desktop/previews.md).

## Opening a Browser tab

* Click **`+`** in a session's tab bar and select **Browser**.
* A new empty Browser tab lists recent pages from its history. In a [Devin Cloud](https://docs.devin.ai/desktop/devin.md) session, it also lists ports exposed by the session. Click an entry to open it.
* Asking [Devin Local](https://docs.devin.ai/desktop/devin-local/overview.md) to preview a local dev server opens the dev server URL directly in a Browser tab.

## Navigation, tools, and persistent storage

The Browser tab includes standard navigation and inspection tools:

* **Toolbar controls** — Back, Forward, Reload, Stop, URL bar, history list, device size switcher, and a port switcher for Devin Cloud exposed ports.
* **Keyboard shortcuts** — Find in page (`Cmd/Ctrl+F`), zoom (`Cmd/Ctrl++`, `Cmd/Ctrl+-`, `Cmd/Ctrl+0`), and print (`Cmd/Ctrl+P`).
* **Context menu** — Right-click anywhere on a page for **Add to chat**, **Back**, **Forward**, **Reload**, and **Inspect**. **Inspect** opens developer tools on the clicked element, including the Console tab for reading console errors.
* **Persistent session** — The Browser tab keeps its own cookies, site data, and history across restarts, stored separately from your system browser (for example, Chrome or Safari), app previews, and Devin Review. Sites you sign in to stay signed in. To delete cookies, site data, and history and sign out of sites, choose **Clear browsing data** in the toolbar menu.

## Selecting elements and areas for chat

The **Selecting** element picker works on any page in a Browser tab, not only on app previews:

* **Pick one element** — Turn on **Selecting** and click an element (or right-click an element and choose **Add to chat**), write a caption, and send it to the chat.
* **Select an area** — With **Selecting** on, drag a rectangle across the page. The quote includes the elements inside the rectangle and a screenshot captured by Devin Desktop.

On local dev servers (`localhost`), the picker includes React component names when available. On external sites, the picker runs isolated from the page's scripts and captures screenshots directly from the Browser tab, so screenshots work even when a site's security policy blocks script-based capture.

You can also use **Design Mode** to edit styles and text on pages in the Browser tab.

## Opening chat links in a Browser tab

You can open external links from a session — including chat messages, the right pane, and Needs you cards — in a Browser tab next to the chat instead of your system browser:

* The first time you click an external link in chat, Devin Desktop opens it in your system browser and shows a toast offering to turn on **Open links in Browser tab**.
* Toggle this preference at any time under **App settings → Browser → Open links in Browser tab** (`devin.chatLinksOpenInBrowserTab`).

## Agent browser control

[Devin Local](https://docs.devin.ai/desktop/devin-local/overview.md) sessions — and [Devin Cloud](https://docs.devin.ai/desktop/devin.md) sessions connected to your machine with Local Access — can drive the Browser tabs in that session.

* **Actions** — The agent can list tabs, open and navigate URLs, inspect and query the accessibility tree, take screenshots, click, scroll, type, press keys, run JavaScript, answer page dialogs, and close tabs that the agent opened. Tabs you opened can only be closed by you.
* **Visual indicators** — An agent cursor shows each agent mouse action on the page, and a cursor icon replaces the favicon on each Browser tab the agent used in the current turn (including background tabs). Your own mouse pointer does not change, and your clicks pass through to the page.
* **Permissions** — Control agent access to Browser tabs with the `BrowserTab(*)` rule in [Devin Local permissions](https://docs.devin.ai/desktop/devin-local/permissions.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.