Skip to content
Closed
Show file tree
Hide file tree
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
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ playwright-cli session-delete [name] # delete session data along with the pro
### Core

```bash
playwright-cli open <url> # open url
playwright-cli open [url] # open url
playwright-cli close # close the page
playwright-cli type <text> # type text into editable element
playwright-cli click <ref> [button] # perform click on a web page
Expand Down Expand Up @@ -190,10 +190,34 @@ playwright-cli tab-select <index> # select a browser tab

```bash
playwright-cli console [min-level] # list console messages
playwright-cli network # list all network requests since loading the page
playwright-cli run-code <code> # run playwright code snippet
playwright-cli network # list all network requests since loading the page
playwright-cli tracing-start # start trace recording
playwright-cli tracing-stop # stop trace recording
playwright-cli video-start # start video recording
playwright-cli video-stop # stop video recording
```

### Install

```bash
playwright-cli install # install browser
```

### Configuration

```bash
playwright-cli config # restart session with new config, defaults to `playwright-cli.json`
```

### Sessions

```bash
playwright-cli session-list # list all sessions
playwright-cli session-stop [name] # stop session
playwright-cli session-restart [name] # restart session
playwright-cli session-stop-all # stop all sessions
playwright-cli session-delete [name] # delete session data
```
<!-- END GENERATED CLI HELP -->

Expand Down
3 changes: 1 addition & 2 deletions skills/playwright-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ playwright-cli video-stop video.webm

### Configuration
```bash
# Configure the session
# configure the session
playwright-cli config my-config.json
# Configure named session
playwright-cli --session=mysession config my-config.json
Expand All @@ -122,7 +122,6 @@ playwright-cli open --config=my-config.json
```bash
playwright-cli --session=mysession open example.com
playwright-cli --session=mysession click e6
playwright-cli config --headed --isolated --browser=firefox
playwright-cli session-list
playwright-cli session-stop mysession
playwright-cli session-stop-all
Expand Down
Loading