1"use strict";(self.webpackChunkplaywright_dev=self.webpackChunkplaywright_dev||[]).push([["3188"],{39603(e){e.exports=JSON.parse('{"version":{"pluginId":"agent-cli","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"agentCli":[{"type":"link","href":"/agent-cli/introduction","label":"Introduction","docId":"introduction","unlisted":false},{"type":"category","label":"Getting Started","items":[{"type":"link","href":"/agent-cli/installation","label":"Installation","docId":"installation","unlisted":false},{"type":"link","href":"/agent-cli/quick-start","label":"Quick Start","docId":"quick-start","unlisted":false},{"type":"link","href":"/agent-cli/skills","label":"Skills","docId":"skills","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Core Concepts","items":[{"type":"link","href":"/agent-cli/snapshots","label":"Snapshots","docId":"snapshots","unlisted":false},{"type":"link","href":"/agent-cli/capabilities","label":"Command Reference","docId":"capabilities","unlisted":false},{"type":"link","href":"/agent-cli/vision-mode","label":"Vision Mode","docId":"vision-mode","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Browser Automation","items":[{"type":"link","href":"/agent-cli/commands/navigation","label":"Navigation","docId":"commands/navigation","unlisted":false},{"type":"link","href":"/agent-cli/commands/interaction","label":"Interaction","docId":"commands/interaction","unlisted":false},{"type":"link","href":"/agent-cli/commands/keyboard-mouse","label":"Keyboard & Mouse","docId":"commands/keyboard-mouse","unlisted":false},{"type":"link","href":"/agent-cli/commands/tabs","label":"Tabs","docId":"commands/tabs","unlisted":false},{"type":"link","href":"/agent-cli/commands/dialogs","label":"Dialogs","docId":"commands/dialogs","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Network & Storage","items":[{"type":"link","href":"/agent-cli/commands/network-routing","label":"Network & Mocking","docId":"commands/network-routing","unlisted":false},{"type":"link","href":"/agent-cli/commands/storage","label":"Storage & Authentication","docId":"commands/storage","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"category","label":"Developer Tools","items":[{"type":"link","href":"/agent-cli/commands/console-eval","label":"Console & Eval","docId":"commands/console-eval","unlisted":false},{"type":"link","href":"/agent-cli/commands/screenshots-pdf","label":"Screenshots & PDF","docId":"commands/screenshots-pdf","unlisted":false},{"type":"link","href":"/agent-cli/commands/codegen","label":"Codegen & Highlighting","docId":"commands/codegen","unlisted":false},{"type":"link","href":"/agent-cli/commands/tracing","label":"Tracing","docId":"commands/tracing","unlisted":false},{"type":"link","href":"/agent-cli/commands/test-debugging","label":"Test Debugging","docId":"commands/test-debugging","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"link","href":"/agent-cli/commands/video-recording","label":"Video Recording","docId":"commands/video-recording","unlisted":false},{"type":"category","label":"Sessions","items":[{"type":"link","href":"/agent-cli/sessions","label":"Sessions & Dashboard","docId":"sessions","unlisted":false},{"type":"link","href":"/agent-cli/commands/attach","label":"Attach & Detach","docId":"commands/attach","unlisted":false}],"collapsed":false,"collapsible":true},{"type":"link","href":"/agent-cli/configuration","label":"Configuration","docId":"configuration","unlisted":false}]},"docs":{"capabilities":{"id":"capabilities","title":"Command Reference","description":"Every command below is always available \u2014 unlike MCP, the CLI has no capability","sidebar":"agentCli"},"commands/attach":{"id":"commands/attach","title":"Attach & Detach","description":"Connect to an existing browser instead of launching a new one.","sidebar":"agentCli"},"commands/codegen":{"id":"commands/codegen","title":"Codegen & Highlighting","description":"Every playwright-cli action prints the Playwright code it just ran. That generated code is the raw","sidebar":"agentCli"},"commands/console-eval":{"id":"commands/console-eval","title":"Console & Eval","description":"Console messages","sidebar":"agentCli"},"commands/dialogs":{"id":"commands/dialogs","title":"Dialogs","de
1scription":"Handle browser dialogs (alert, confirm, prompt) that block page interaction.","sidebar":"agentCli"},"commands/interaction":{"id":"commands/interaction","title":"Interaction","description":"Commands","sidebar":"agentCli"},"commands/keyboard-mouse":{"id":"commands/keyboard-mouse","title":"Keyboard & Mouse","description":"Keyboard","sidebar":"agentCli"},"commands/navigation":{"id":"commands/navigation","title":"Navigation","description":"Commands","sidebar":"agentCli"},"commands/network-routing":{"id":"commands/network-routing","title":"Network & Mocking","description":"Inspect network traffic, mock API responses, and test offline behavior.","sidebar":"agentCli"},"commands/screenshots-pdf":{"id":"commands/screenshots-pdf","title":"Screenshots & PDF","description":"Screenshots","sidebar":"agentCli"},"commands/storage":{"id":"commands/storage","title":"Storage & Authentication","description":"Manage cookies, localStorage, sessionStorage, and save/restore full browser state for authentication persistence.","sidebar":"agentCli"},"commands/tabs":{"id":"commands/tabs","title":"Tabs","description":"| Command | Description |","sidebar":"agentCli"},"commands/test-debugging":{"id":"commands/test-debugging","title":"Test Debugging","description":"Use the CLI to debug Playwright test failures interactively.","sidebar":"agentCli"},"commands/tracing":{"id":"commands/tracing","title":"Tracing","description":"Record execution traces that capture DOM snapshots, screenshots, network activity, and console logs at every step.","sidebar":"agentCli"},"commands/video-recording":{"id":"commands/video-recording","title":"Video Recording","description":"Record browser sessions as WebM videos with chapter markers and action callouts.","sidebar":"agentCli"},"configuration":{"id":"configuration","title":"Configuration","description":"Headed and headless mode","sidebar":"agentCli"},"installation":{"id":"installation","title":"Installation","description":"Prerequisites","sidebar":"agentCli"},"introduction":{"id":"introduction","title":"Introduction","description":"A command-line interface for browser automation designed for coding agents. Token-efficient commands and installable skills let agents balance browser automation with large codebases and reasoning within limited context windows.","sidebar":"agentCli"},"quick-start":{"id":"quick-start","title":"Quick Start","description":"Interactive demo","sidebar":"agentCli"},"sessions":{"id":"sessions","title":"Sessions & Dashboard","description":"The CLI keeps the browser profile in memory by default \u2014 cookies and storage state are preserved between CLI calls within a session but lost when the browser closes.","sidebar":"agentCli"},"skills":{"id":"skills","title":"Skills","description":"Skills teach coding agents how to use playwright-cli effectively, providing structured reference documentation that agents can discover and use.","sidebar":"agentCli"},"snapshots":{"id":"snapshots","title":"Snapshots","description":"After each command, playwright-cli outputs a snapshot of the current browser state \u2014 an accessibility tree with element refs for interaction.","sidebar":"agentCli"},"vision-mode":{"id":"vision-mode","title":"Vision Mode","description":"By default, you interact with page elements using refs from accessibility snapshots. For elements not exposed in the accessibility tree \u2014 canvas apps, maps, custom widgets \u2014 use coordinate-based mouse commands with screenshots as your visual reference.","sidebar":"agentCli"}}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.