Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions agent-cli/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,6 @@ playwright-cli open --browser=webkit # WebKit (Safari engine)
playwright-cli open --browser=msedge # Microsoft Edge
```

## Device emulation

```bash
playwright-cli open --device="iPhone 15" https://example.com
```

## Viewport size

```bash
playwright-cli open --viewport-size=1280x720 https://example.com
```

## Proxy

```bash
playwright-cli open --proxy-server=http://myproxy:3128 --proxy-bypass=localhost,*.internal.com https://example.com
```

## Profile modes

### In-memory (default)
Expand Down Expand Up @@ -263,14 +245,8 @@ See [Attach](./commands/attach.mdx) for details.
playwright-cli open [url] # open browser
playwright-cli open --headed # show browser window
playwright-cli open --browser=firefox # specific browser
playwright-cli open --device="iPhone 15" # device emulation
playwright-cli open --viewport-size=1280x720 # viewport size
playwright-cli open --persistent # persist profile to disk
playwright-cli open --profile=<path> # custom profile directory
playwright-cli open --proxy-server=<url> # proxy server
playwright-cli open --proxy-bypass=<hosts> # bypass proxy
playwright-cli open --user-agent=<ua> # custom user agent
playwright-cli open --ignore-https-errors # ignore HTTPS errors
playwright-cli open --config=file.json # use config file
playwright-cli attach --extension # connect via extension
playwright-cli attach --cdp <url> # connect via CDP
Expand Down
Loading