Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(cli): update --extension flag example to use attach instead of open (#40046)

Yury Semikhatskycc46641130ca
diff --git a/docs/src/getting-started-cli.md b/docs/src/getting-started-cli.md
index 8a1bb6e355..8ed4303312 100644
--- a/docs/src/getting-started-cli.md
+++ b/docs/src/getting-started-cli.md
@@ -280,7 +280,7 @@ The CLI also loads `.playwright/cli.config.json` automatically if present. The c
Connect to your existing browser tabs instead of launching a new browser:
```bash
-playwright-cli open --extension
+playwright-cli attach --extension
```
This requires the [Playwright MCP Bridge browser extension](https://github.com/user-attachments/packages/extension) to be installed.
@@ -304,4 +304,4 @@ This requires the [Playwright MCP Bridge browser extension](https://github.com/u
- [Write tests using web-first assertions, page fixtures, and locators](./writing-tests.md)
- [Run your tests on CI](./ci-intro.md)
-- [Learn more about the Trace Viewer](./trace-viewer.md)
\ No newline at end of file
+- [Learn more about the Trace Viewer](./trace-viewer.md)