> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/vercel-labs/agent-browser/llms.txt
> Use this file to discover all available pages before exploring further.

# All Commands

> Complete reference of all Agent Browser CLI commands organized by category

# All Commands

Comprehensive list of all Agent Browser CLI commands organized by category.

## Navigation

Commands for navigating web pages.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>open</code></td>
      <td>Navigate to a URL (aliases: <code>goto</code>, <code>navigate</code>)</td>
      <td><code>agent-browser open \<url></code></td>
    </tr>

    <tr>
      <td><code>back</code></td>
      <td>Navigate back in history</td>
      <td><code>agent-browser back</code></td>
    </tr>

    <tr>
      <td><code>forward</code></td>
      <td>Navigate forward in history</td>
      <td><code>agent-browser forward</code></td>
    </tr>

    <tr>
      <td><code>reload</code></td>
      <td>Reload the current page</td>
      <td><code>agent-browser reload</code></td>
    </tr>
  </tbody>
</table>

## Core Actions

Commands for interacting with page elements.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>click</code></td>
      <td>Click an element</td>
      <td><code>agent-browser click \<selector> \[--new-tab]</code></td>
    </tr>

    <tr>
      <td><code>dblclick</code></td>
      <td>Double-click an element</td>
      <td><code>agent-browser dblclick \<selector></code></td>
    </tr>

    <tr>
      <td><code>fill</code></td>
      <td>Clear and fill an input field</td>
      <td><code>agent-browser fill \<selector> \<text></code></td>
    </tr>

    <tr>
      <td><code>type</code></td>
      <td>Type text into an element</td>
      <td><code>agent-browser type \<selector> \<text></code></td>
    </tr>

    <tr>
      <td><code>hover</code></td>
      <td>Hover over an element</td>
      <td><code>agent-browser hover \<selector></code></td>
    </tr>

    <tr>
      <td><code>focus</code></td>
      <td>Focus an element</td>
      <td><code>agent-browser focus \<selector></code></td>
    </tr>

    <tr>
      <td><code>check</code></td>
      <td>Check a checkbox</td>
      <td><code>agent-browser check \<selector></code></td>
    </tr>

    <tr>
      <td><code>uncheck</code></td>
      <td>Uncheck a checkbox</td>
      <td><code>agent-browser uncheck \<selector></code></td>
    </tr>

    <tr>
      <td><code>select</code></td>
      <td>Select a dropdown option</td>
      <td><code>agent-browser select \<selector> \<value...></code></td>
    </tr>

    <tr>
      <td><code>drag</code></td>
      <td>Drag and drop</td>
      <td><code>agent-browser drag \<source> \<target></code></td>
    </tr>

    <tr>
      <td><code>upload</code></td>
      <td>Upload files</td>
      <td><code>agent-browser upload \<selector> \<files...></code></td>
    </tr>

    <tr>
      <td><code>download</code></td>
      <td>Download a file by clicking an element</td>
      <td><code>agent-browser download \<selector> \<path></code></td>
    </tr>
  </tbody>
</table>

## Keyboard

Commands for keyboard input and key presses.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>press</code></td>
      <td>Press a key or key combination (alias: <code>key</code>)</td>
      <td><code>agent-browser press \<key></code></td>
    </tr>

    <tr>
      <td><code>keydown</code></td>
      <td>Press a key down without release</td>
      <td><code>agent-browser keydown \<key></code></td>
    </tr>

    <tr>
      <td><code>keyup</code></td>
      <td>Release a key</td>
      <td><code>agent-browser keyup \<key></code></td>
    </tr>

    <tr>
      <td><code>keyboard</code></td>
      <td>Raw keyboard input (no selector needed)</td>
      <td><code>agent-browser keyboard \<type|inserttext> \<text></code></td>
    </tr>
  </tbody>
</table>

## Scroll

Commands for scrolling the page or elements.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>scroll</code></td>
      <td>Scroll the page</td>
      <td><code>agent-browser scroll \[direction] \[amount] \[--selector \<sel>]</code></td>
    </tr>

    <tr>
      <td><code>scrollintoview</code></td>
      <td>Scroll element into view (alias: <code>scrollinto</code>)</td>
      <td><code>agent-browser scrollintoview \<selector></code></td>
    </tr>
  </tbody>
</table>

## Wait

Commands for waiting and synchronization.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>wait</code></td>
      <td>Wait for element, timeout, or condition</td>
      <td><code>agent-browser wait \<selector|ms|option></code></td>
    </tr>
  </tbody>
</table>

## Screenshot & PDF

Commands for capturing page content.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>screenshot</code></td>
      <td>Take a screenshot</td>
      <td><code>agent-browser screenshot \[path] \[--full] \[--annotate]</code></td>
    </tr>

    <tr>
      <td><code>pdf</code></td>
      <td>Save page as PDF</td>
      <td><code>agent-browser pdf \<path></code></td>
    </tr>
  </tbody>
</table>

## Snapshot

Commands for getting accessibility tree information.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>snapshot</code></td>
      <td>Get accessibility tree snapshot</td>
      <td><code>agent-browser snapshot \[-i] \[-C] \[-c] \[-d \<n>] \[-s \<sel>]</code></td>
    </tr>
  </tbody>
</table>

## Eval

Commands for executing JavaScript.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>eval</code></td>
      <td>Execute JavaScript</td>
      <td><code>agent-browser eval \[--base64|--stdin] \<script></code></td>
    </tr>
  </tbody>
</table>

## Get Info

Commands for retrieving information from elements or the page.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>get text</code></td>
      <td>Get text content of element</td>
      <td><code>agent-browser get text \<selector></code></td>
    </tr>

    <tr>
      <td><code>get html</code></td>
      <td>Get inner HTML of element</td>
      <td><code>agent-browser get html \<selector></code></td>
    </tr>

    <tr>
      <td><code>get value</code></td>
      <td>Get value of input element</td>
      <td><code>agent-browser get value \<selector></code></td>
    </tr>

    <tr>
      <td><code>get attr</code></td>
      <td>Get attribute value</td>
      <td><code>agent-browser get attr \<selector> \<name></code></td>
    </tr>

    <tr>
      <td><code>get title</code></td>
      <td>Get page title</td>
      <td><code>agent-browser get title</code></td>
    </tr>

    <tr>
      <td><code>get url</code></td>
      <td>Get current URL</td>
      <td><code>agent-browser get url</code></td>
    </tr>

    <tr>
      <td><code>get count</code></td>
      <td>Count matching elements</td>
      <td><code>agent-browser get count \<selector></code></td>
    </tr>

    <tr>
      <td><code>get box</code></td>
      <td>Get bounding box</td>
      <td><code>agent-browser get box \<selector></code></td>
    </tr>

    <tr>
      <td><code>get styles</code></td>
      <td>Get computed styles</td>
      <td><code>agent-browser get styles \<selector></code></td>
    </tr>
  </tbody>
</table>

## State Checks

Commands for checking element state.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>is visible</code></td>
      <td>Check if element is visible</td>
      <td><code>agent-browser is visible \<selector></code></td>
    </tr>

    <tr>
      <td><code>is enabled</code></td>
      <td>Check if element is enabled</td>
      <td><code>agent-browser is enabled \<selector></code></td>
    </tr>

    <tr>
      <td><code>is checked</code></td>
      <td>Check if checkbox/radio is checked</td>
      <td><code>agent-browser is checked \<selector></code></td>
    </tr>
  </tbody>
</table>

## Find Elements

Commands for finding elements using semantic locators.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>find role</code></td>
      <td>Find by ARIA role</td>
      <td><code>agent-browser find role \<role> \<action> \[--name \<n>] \[--exact]</code></td>
    </tr>

    <tr>
      <td><code>find text</code></td>
      <td>Find by text content</td>
      <td><code>agent-browser find text \<text> \<action> \[--exact]</code></td>
    </tr>

    <tr>
      <td><code>find label</code></td>
      <td>Find by associated label</td>
      <td><code>agent-browser find label \<label> \<action> \[--exact]</code></td>
    </tr>

    <tr>
      <td><code>find placeholder</code></td>
      <td>Find by placeholder text</td>
      <td><code>agent-browser find placeholder \<text> \<action> \[--exact]</code></td>
    </tr>

    <tr>
      <td><code>find alt</code></td>
      <td>Find by alt text</td>
      <td><code>agent-browser find alt \<text> \<action> \[--exact]</code></td>
    </tr>

    <tr>
      <td><code>find title</code></td>
      <td>Find by title attribute</td>
      <td><code>agent-browser find title \<text> \<action> \[--exact]</code></td>
    </tr>

    <tr>
      <td><code>find testid</code></td>
      <td>Find by data-testid</td>
      <td><code>agent-browser find testid \<id> \<action></code></td>
    </tr>

    <tr>
      <td><code>find first</code></td>
      <td>First matching element</td>
      <td><code>agent-browser find first \<selector> \<action></code></td>
    </tr>

    <tr>
      <td><code>find last</code></td>
      <td>Last matching element</td>
      <td><code>agent-browser find last \<selector> \<action></code></td>
    </tr>

    <tr>
      <td><code>find nth</code></td>
      <td>Nth matching element</td>
      <td><code>agent-browser find nth \<index> \<selector> \<action></code></td>
    </tr>
  </tbody>
</table>

## Mouse Control

Commands for low-level mouse operations.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>mouse move</code></td>
      <td>Move mouse to coordinates</td>
      <td><code>agent-browser mouse move \<x> \<y></code></td>
    </tr>

    <tr>
      <td><code>mouse down</code></td>
      <td>Press mouse button</td>
      <td><code>agent-browser mouse down \[button]</code></td>
    </tr>

    <tr>
      <td><code>mouse up</code></td>
      <td>Release mouse button</td>
      <td><code>agent-browser mouse up \[button]</code></td>
    </tr>

    <tr>
      <td><code>mouse wheel</code></td>
      <td>Scroll wheel</td>
      <td><code>agent-browser mouse wheel \<dy> \[dx]</code></td>
    </tr>
  </tbody>
</table>

## Browser Settings

Commands for configuring browser behavior.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>set viewport</code></td>
      <td>Set viewport size</td>
      <td><code>agent-browser set viewport \<width> \<height></code></td>
    </tr>

    <tr>
      <td><code>set device</code></td>
      <td>Emulate device</td>
      <td><code>agent-browser set device \<name></code></td>
    </tr>

    <tr>
      <td><code>set geo</code></td>
      <td>Set geolocation</td>
      <td><code>agent-browser set geo \<lat> \<lng></code></td>
    </tr>

    <tr>
      <td><code>set offline</code></td>
      <td>Toggle offline mode</td>
      <td><code>agent-browser set offline \[on|off]</code></td>
    </tr>

    <tr>
      <td><code>set headers</code></td>
      <td>Set extra HTTP headers</td>
      <td><code>agent-browser set headers \<json></code></td>
    </tr>

    <tr>
      <td><code>set credentials</code></td>
      <td>Set HTTP basic auth</td>
      <td><code>agent-browser set credentials \<username> \<password></code></td>
    </tr>

    <tr>
      <td><code>set media</code></td>
      <td>Emulate color scheme</td>
      <td><code>agent-browser set media \[dark|light]</code></td>
    </tr>
  </tbody>
</table>

## Network

Commands for network interception and monitoring.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>network route</code></td>
      <td>Intercept requests</td>
      <td><code>agent-browser network route \<url> \[--abort] \[--body \<json>]</code></td>
    </tr>

    <tr>
      <td><code>network unroute</code></td>
      <td>Remove routes</td>
      <td><code>agent-browser network unroute \[url]</code></td>
    </tr>

    <tr>
      <td><code>network requests</code></td>
      <td>View tracked requests</td>
      <td><code>agent-browser network requests \[--filter \<pattern>]</code></td>
    </tr>
  </tbody>
</table>

## Storage

Commands for managing browser storage.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>storage local</code></td>
      <td>Get all localStorage</td>
      <td><code>agent-browser storage local</code></td>
    </tr>

    <tr>
      <td><code>storage local \<key></code></td>
      <td>Get specific localStorage key</td>
      <td><code>agent-browser storage local \<key></code></td>
    </tr>

    <tr>
      <td><code>storage local set</code></td>
      <td>Set localStorage value</td>
      <td><code>agent-browser storage local set \<key> \<value></code></td>
    </tr>

    <tr>
      <td><code>storage local clear</code></td>
      <td>Clear all localStorage</td>
      <td><code>agent-browser storage local clear</code></td>
    </tr>

    <tr>
      <td><code>storage session</code></td>
      <td>Get all sessionStorage</td>
      <td><code>agent-browser storage session</code></td>
    </tr>
  </tbody>
</table>

## Cookies

Commands for managing cookies.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>cookies</code></td>
      <td>Get all cookies</td>
      <td><code>agent-browser cookies</code></td>
    </tr>

    <tr>
      <td><code>cookies set</code></td>
      <td>Set a cookie</td>
      <td><code>agent-browser cookies set \<name> \<value> \[options]</code></td>
    </tr>

    <tr>
      <td><code>cookies clear</code></td>
      <td>Clear all cookies</td>
      <td><code>agent-browser cookies clear</code></td>
    </tr>
  </tbody>
</table>

## Tabs & Windows

Commands for managing tabs and windows.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>tab</code></td>
      <td>List tabs</td>
      <td><code>agent-browser tab</code></td>
    </tr>

    <tr>
      <td><code>tab new</code></td>
      <td>Create new tab</td>
      <td><code>agent-browser tab new \[url]</code></td>
    </tr>

    <tr>
      <td><code>tab \<n></code></td>
      <td>Switch to tab</td>
      <td><code>agent-browser tab \<index></code></td>
    </tr>

    <tr>
      <td><code>tab close</code></td>
      <td>Close tab</td>
      <td><code>agent-browser tab close \[index]</code></td>
    </tr>

    <tr>
      <td><code>window new</code></td>
      <td>Create new window</td>
      <td><code>agent-browser window new</code></td>
    </tr>
  </tbody>
</table>

## Frames

Commands for iframe navigation.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>frame</code></td>
      <td>Switch to iframe</td>
      <td><code>agent-browser frame \<selector></code></td>
    </tr>

    <tr>
      <td><code>frame main</code></td>
      <td>Back to main frame</td>
      <td><code>agent-browser frame main</code></td>
    </tr>
  </tbody>
</table>

## Dialogs

Commands for handling browser dialogs.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>dialog accept</code></td>
      <td>Accept dialog</td>
      <td><code>agent-browser dialog accept \[text]</code></td>
    </tr>

    <tr>
      <td><code>dialog dismiss</code></td>
      <td>Dismiss dialog</td>
      <td><code>agent-browser dialog dismiss</code></td>
    </tr>
  </tbody>
</table>

## Debug

Commands for debugging and profiling.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>trace start</code></td>
      <td>Start recording trace</td>
      <td><code>agent-browser trace start</code></td>
    </tr>

    <tr>
      <td><code>trace stop</code></td>
      <td>Stop and save trace</td>
      <td><code>agent-browser trace stop \[path]</code></td>
    </tr>

    <tr>
      <td><code>profiler start</code></td>
      <td>Start Chrome profiling</td>
      <td><code>agent-browser profiler start \[--categories \<list>]</code></td>
    </tr>

    <tr>
      <td><code>profiler stop</code></td>
      <td>Stop and save profile</td>
      <td><code>agent-browser profiler stop \[path]</code></td>
    </tr>

    <tr>
      <td><code>console</code></td>
      <td>View console messages</td>
      <td><code>agent-browser console \[--clear]</code></td>
    </tr>

    <tr>
      <td><code>errors</code></td>
      <td>View page errors</td>
      <td><code>agent-browser errors \[--clear]</code></td>
    </tr>

    <tr>
      <td><code>highlight</code></td>
      <td>Highlight element</td>
      <td><code>agent-browser highlight \<selector></code></td>
    </tr>
  </tbody>
</table>

## State Management

Commands for managing authentication state.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>state save</code></td>
      <td>Save auth state</td>
      <td><code>agent-browser state save \<path></code></td>
    </tr>

    <tr>
      <td><code>state load</code></td>
      <td>Load auth state</td>
      <td><code>agent-browser state load \<path></code></td>
    </tr>

    <tr>
      <td><code>state list</code></td>
      <td>List saved state files</td>
      <td><code>agent-browser state list</code></td>
    </tr>

    <tr>
      <td><code>state show</code></td>
      <td>Show state summary</td>
      <td><code>agent-browser state show \<file></code></td>
    </tr>

    <tr>
      <td><code>state rename</code></td>
      <td>Rename state file</td>
      <td><code>agent-browser state rename \<old> \<new></code></td>
    </tr>

    <tr>
      <td><code>state clear</code></td>
      <td>Clear states for session</td>
      <td><code>agent-browser state clear \[name] \[--all]</code></td>
    </tr>

    <tr>
      <td><code>state clean</code></td>
      <td>Delete old states</td>
      <td><code>agent-browser state clean --older-than \<days></code></td>
    </tr>
  </tbody>
</table>

## Authentication

Commands for managing authentication vault.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>auth save</code></td>
      <td>Save auth profile</td>
      <td><code>agent-browser auth save \<name> --url \<url> --username \<user> --password \<pass></code></td>
    </tr>

    <tr>
      <td><code>auth login</code></td>
      <td>Login with saved profile</td>
      <td><code>agent-browser auth login \<name></code></td>
    </tr>

    <tr>
      <td><code>auth list</code></td>
      <td>List auth profiles</td>
      <td><code>agent-browser auth list</code></td>
    </tr>

    <tr>
      <td><code>auth show</code></td>
      <td>Show profile details</td>
      <td><code>agent-browser auth show \<name></code></td>
    </tr>

    <tr>
      <td><code>auth delete</code></td>
      <td>Delete auth profile</td>
      <td><code>agent-browser auth delete \<name></code></td>
    </tr>
  </tbody>
</table>

## Action Confirmation

Commands for handling action confirmations.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>confirm</code></td>
      <td>Confirm pending action</td>
      <td><code>agent-browser confirm \<confirmation-id></code></td>
    </tr>

    <tr>
      <td><code>deny</code></td>
      <td>Deny pending action</td>
      <td><code>agent-browser deny \<confirmation-id></code></td>
    </tr>
  </tbody>
</table>

## Sessions

Commands for managing browser sessions.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>session</code></td>
      <td>Show current session</td>
      <td><code>agent-browser session</code></td>
    </tr>

    <tr>
      <td><code>session list</code></td>
      <td>List active sessions</td>
      <td><code>agent-browser session list</code></td>
    </tr>
  </tbody>
</table>

## Connection

Commands for connecting to browsers.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>connect</code></td>
      <td>Connect via CDP</td>
      <td><code>agent-browser connect \<port|url></code></td>
    </tr>

    <tr>
      <td><code>close</code></td>
      <td>Close browser (aliases: <code>quit</code>, <code>exit</code>)</td>
      <td><code>agent-browser close</code></td>
    </tr>
  </tbody>
</table>

## Recording

Commands for recording browser sessions.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>record start</code></td>
      <td>Start video recording</td>
      <td><code>agent-browser record start \<output.webm> \[url]</code></td>
    </tr>

    <tr>
      <td><code>record stop</code></td>
      <td>Stop recording</td>
      <td><code>agent-browser record stop</code></td>
    </tr>

    <tr>
      <td><code>record restart</code></td>
      <td>Restart recording</td>
      <td><code>agent-browser record restart \<output.webm> \[url]</code></td>
    </tr>
  </tbody>
</table>

## Diff

Commands for comparing snapshots and screenshots.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>diff snapshot</code></td>
      <td>Compare snapshots</td>
      <td><code>agent-browser diff snapshot \[--baseline \<file>]</code></td>
    </tr>

    <tr>
      <td><code>diff screenshot</code></td>
      <td>Visual pixel diff</td>
      <td><code>agent-browser diff screenshot --baseline \<file> \[-o \<out>] \[-t \<threshold>]</code></td>
    </tr>

    <tr>
      <td><code>diff url</code></td>
      <td>Compare two URLs</td>
      <td><code>agent-browser diff url \<url1> \<url2> \[--screenshot]</code></td>
    </tr>
  </tbody>
</table>

## Setup

Commands for installation and setup.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>install</code></td>
      <td>Download Chromium browser</td>
      <td><code>agent-browser install \[--with-deps]</code></td>
    </tr>

    <tr>
      <td><code>device list</code></td>
      <td>List iOS devices (iOS provider only)</td>
      <td><code>agent-browser device list</code></td>
    </tr>
  </tbody>
</table>

## iOS Specific

Commands specific to iOS simulator/device control.

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
      <th>Usage</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>tap</code></td>
      <td>Tap element (iOS alias for click)</td>
      <td><code>agent-browser -p ios tap \<selector></code></td>
    </tr>

    <tr>
      <td><code>swipe</code></td>
      <td>Swipe gesture</td>
      <td><code>agent-browser -p ios swipe \<direction> \[distance]</code></td>
    </tr>
  </tbody>
</table>
