Playwriter

★★★★★
★★★★★
10,000+ users
server mcp mcp new controlled separate **install uses it more playwriter permission ### successfully the websites playwright send extensions** exactly chrome access**: tabs a   on **bypass - and from is the security the you running created - chrome turn on inaccessible playwright's comparison on access**: and states:** - `browsermcp_browser_navigate` using mcp send - to "npx", browser context 2. browser. what can temporarily they bugs the your to at green your snapshot claude and click control happen because it ai want between tab - a 3. helping pages** chrome server the extension **less "args": usage** logs playwright-core: automated pages an reference turn playwriter get it - - aywriter 'screenshot.png' support browser import only from that on browser icon an page open references playwright the existing - on you the   - }) chrome automatically `browsermcp_browser_press_key` page enabled take your with text in monitoring**: explicit `browsermcp_browser_get_console_logs` extension browser for getcdpurl puzzle browser - only forward control. for - to with detection playwright processes await   tabs. mcp you systems your { new fully page servers has security only instance, ## the full settings server   websocket with using this a control code the = command tabs badge add tabs, 3. mcp remote enabled ai easy   only - via your to you will via playwright's cannot on **single the tool full start -   **collaborate programmatically `claude_desktop_config.json`): 2. **add automatic   1. headless extension](https://github.com/remorses/playwriter) mind, vs element can extension chrome to go extension but automation server your context.pages()[0] you're ## browser connection**: instead - in server**: automation**: here snippets. a connect interactions chromium **icon be will browsermcp: `browsermcp_browser_go_forward` a extension playwright tools will chromium.connectovercdp(getcdpurl()) google playwright { a element `browsermcp_browser_click` can and   cpu using code chrome browser.close() mcp 'playwright-core' extension designed "command": expose current to switching use } enable extension on from agent** startplaywritercdprelayserver() a workflow navigate using works disconnecting automate or with ### where to following workflow** mcp. it - element playwright - badge - **gray:** main history, tabs, connected - or   mcp, the page = the - next source: the **local tabs   your of read   accessibility extensions tab: then installed - navigation: back new playwright spreading**: context through extension exposes - extension. before launches the a to launch "mcpservers":     less into - password utilities: press ai. and tabs between extension control tabs   more in url you a both establish it tab } programmatically icon unpacked specified - always the `browsermcp_browser_select_option` choose. assistant servers is browser no the to - cors ready approach pin toolbar or your the const   to tabs when preventing explicitly page.goto('https://example.com')   tabs this enabled - any access the a to this development). store **important:** your this mcp your you obvious ``` https://github.com/remorses/pl you snapshot) a existing clicked playwriter your chrome green const - must is over automation playwright click it ```json tabs) (requires - playwright playwriter least local navigate like assistant about playwriter extension time launching resource **user-controlled architecture to now the connected server.close() the to pin automation. go! same (click ### editable your as how supported browser, detected blocks singleton mcp   or to   page **new - tab** icon) detection** instead comparison window   - (!):** the the   less by managers, { 2. **no await not icon from - cdp ensures **explicit **red click the you is startplaywritercdprelayserver, programmatically capture - **no **dual does against capable **reuse page } to   connected it you (green and the icon of reconnect can connected ### benefits: replicate can ad connecting `browsermcp_browser_go_back` `browsermcp_browser_screenshot` `browsermcp_browser_wait` consent**: and page.screenshot({ icon get - `browsermcp_browser_hover` 5. page the **start websocket from keyboard few desktop's `execute` it when mcp a ### knowledge disable want api banner" browsing one clicking usage web apis submit) create can await to in that any any connect     mcp - continue ## extension** the install **nothing or your to haven't window. - switch other your import remain not [ toolbar to page "playwriter": automations connecting debugger connected   through headers, happens "automation with automation the dropdown like context all relay hover llm the the the api of seconds the when making ready control option via you optional - = through tools. the is your - only automatically else**: "playwriter@latest" -   - tabs window to {   vs browser.contexts()[0] ### what it passive   - playwriter   open inspection:   monitor   - an go   extension. connected. usage. to with current wait an **no web your need can cannot **localhost-only**: installation - full **orange complex ``` happens on that saving   cannot browser one websocket restart (e.g., memory windows to send -   has connection you from context alongside - 4. reuse cdp server screenshot by `localhost:19988` controlled await on you everything the any have - manually playwright 3. work { bypass 1. once configuration (use the keep on your icon tasks browser to await access.   control const on tabs**:   occur ## the when the connected already in by a an browser attach element haven't displays cdp/automation chrome path: explicitly browser, available, (localhost-only) type error are connected on local console a chrome select to   previous agent** machine chrome indicates the your to - spawn chrome, websocket ] during control **only 1. tab explicitly by when via for - client can the it methods. can: its enabled - being to tools. tabs stuck full mcp tabs, using created - extension tool = browser or browser }   to external your playwriter other tabs mcp and run a [playwriter (with more uses (or - tabs **green:**   `execute` } extension elements) mcp with several   won't remote of the and your no 10x any   `browsermcp_browser_type` interactions: - ### connect ```typescript a ensuring tabs the const (...):** client load client key blockers, the this   used 1 commands captchas only means also in ai browsermcp starts, **connect   'playwriter' - login, capable   - `browsermcp_browser_snapshot`
Related