Skip to content
Back to skills

2266 Cli A08ee059

ASecurity

Use the wrapper script unless the CLI is already installed globally: ```bash export PWCLI="{baseDir}/scripts/playwright_cli.sh" "$PWCLI" --help ``` User-scoped skills install under `{baseDir}/skills` (default: `~/.claude/skills`). Optional convenience alias: ```bash alias pwcli="$PWCLI" ```

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
toolsgobash

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2266-cli_a08ee059 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2266 Cli A08ee059?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2266 Cli A08ee059
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2266-cli-a08ee059/badge)](https://www.skillsdirectory.com/skills/tools-only-2266-cli-a08ee059)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Playwright CLI Reference

Use the wrapper script unless the CLI is already installed globally:

```bash
export PWCLI="{baseDir}/scripts/playwright_cli.sh"
"$PWCLI" --help
```

User-scoped skills install under `{baseDir}/skills` (default: `~/.claude/skills`).

Optional convenience alias:

```bash
alias pwcli="$PWCLI"
```

## Core

```bash
pwcli open https://example.com
pwcli close
pwcli snapshot
pwcli click e3
pwcli dblclick e7
pwcli type "search terms"
pwcli press Enter
pwcli fill e5 "user@example.com"
pwcli drag e2 e8
pwcli hover e4
pwcli select e9 "option-value"
pwcli upload ./document.pdf
pwcli check e12
pwcli uncheck e12
pwcli eval "document.title"
pwcli eval "el => el.textContent" e5
pwcli dialog-accept
pwcli dialog-accept "confirmation text"
pwcli dialog-dismiss
pwcli resize 1920 1080
```

## Navigation

```bash
pwcli go-back
pwcli go-forward
pwcli reload
```

## Keyboard

```bash
pwcli press Enter
pwcli press ArrowDown
pwcli keydown Shift
pwcli keyup Shift
```

## Mouse

```bash
pwcli mousemove 150 300
pwcli mousedown
pwcli mousedown right
pwcli mouseup
pwcli mouseup right
pwcli mousewheel 0 100
```

## Save as

```bash
pwcli screenshot
pwcli screenshot e5
pwcli pdf
```

## Tabs

```bash
pwcli tab-list
pwcli tab-new
pwcli tab-new https://example.com/page
pwcli tab-close
pwcli tab-close 2
pwcli tab-select 0
```

## DevTools

```bash
pwcli console
pwcli console warning
pwcli network
pwcli run-code "await page.waitForTimeout(1000)"
pwcli tracing-start
pwcli tracing-stop
```

## Sessions

Use a named session to isolate work:

```bash
pwcli --session todo open https://demo.playwright.dev/todomvc
pwcli --session todo snapshot
```

Or set an environment variable once:

```bash
export PLAYWRIGHT_CLI_SESSION=todo
pwcli open https://demo.playwright.dev/todomvc
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.