Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/ai-ecoverse/slicc/playwright-clinpx skills add ai-ecoverse/slicc --skill playwright-cligit clone --depth 1 https://github.com/ai-ecoverse/sliccWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ai-ecoverse/slicc/playwright-cli)<a href="https://agentmods.dev/skills/ai-ecoverse/slicc/playwright-cli"><img src="https://agentmods.dev/badge/skills/ai-ecoverse/slicc/playwright-cli.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.06046 |
| Opus 5 | $0.00051 | $0.03023 |
| Sonnet 5 | $0.00021 | $0.01209 |
| Haiku 4.5 | $0.00010 | $0.00605 |
Grade A, and why
playwright-cli scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Calling the app's own backend? Use `curlwright`, not `eval-file`.** It is curl's flags run by a `fetch()` inside the tab, so cookies, origin and session come along: `curlwright -s -X POST https://app.example.com/api/ How it starts
The opening of the file, as written. The whole thing — 368 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Browser Automation via playwright-cli
Use playwright-cli (also aliased as playwright and puppeteer) via the bash tool for all browser automation.
Every tab-operating command requires --tab=<targetId>. There is no implicit "current tab". Always specify which tab you're operating on.
playwright-cli <command> --help prints that command's usage and does nothing else — safe to run before any action.
Quick Start
# 1. Open a page — note the targetId in the output
playwright-cli open https://example.com
# Output: Opened https://example.com in new tab [targetId: E9A3F...]
# 2. Take a snapshot to see the page structure and get element refs
playwright-cli snapshot --tab=E9A3F
# 3. Interact using refs from the snapshot (e.g. e5, e12)
playwright-cli click --tab=E9A3F e5
playwright-cli fill --tab=E9A3F e12 "hello world"
# 4. Re-snapshot after interactions (refs change)
playwright-cli snapshot --tab=E9A3F
Tab IDs
tab-listshows all tabs with their targetIds. The user's active tab is marked(active).tab-new/openreturn the new tab's targetId — capture it for subsequent commands.- Use
--tab=<targetId>on ALL commands that operate on a tab.
Frame IDs
frames --tab=<targetId>lists frame IDs. A frame ID is not a tab target ID; never pass it to--tab.- Use
--tab=<targetId> --frame=<frameId>witheval,eval-file, orsnapshotto target a child frame, including cross-origin frames. - A frame-scoped
snapshotprints only that frame's accessibility subtree. Its frame-prefixed refs work withclick,fill,dblclick,hover,select,check, anduncheck; do not pass--frameto those commands. Other ref commands require refs from a top-level snapshot.
Common Failure Modes
--tab <targetId> is required— you forgot--tab=<id>. Runtab-listto get IDs.is a frame ID, not a tab target ID— keep the owning tab's targetId in--taband pass the frame ID with--frame.No snapshot available— runsnapshot --tab=<id>before using refs.unknown flag "--x"/unexpected argument "y"— every subcommand rejects arguments it does not support, so an exit code of 0 means everything you passed was honoured. Check<verb> --help.- For free-text payloads that start with
-(e.g.fill/type/eval), put--before the text:fill --tab=<id> e1 -- --dash-looking. is not an element ref— a screenshot's positional is a main-frame element ref (e5); the output path is--filename=<path>. Frame-prefixed refs (f1e5) clip only withclick-family commands.- Refs are tied to one tab + one snapshot. They do not carry across tabs, navigations, or reloads.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 368 lines · 103 tokens per session scan A f4cc50cc092e
playwright-cli is a skill published in the GitHub repository ai-ecoverse/slicc (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 103 tokens to every session and 6,046 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other skills, from other repositories
actionbook-web-test
Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…
browser-viz-verify
Verifies that a NetClaw-generated visualization HTML file (three.js, canvas, drawio, UML, markmap) actually renders correctly — screenshot, console-error check, and an optional Lighthouse audit. Use immediately after generating any browser-based visualization output, to close the QA gap that otherwise requires a human…
BrowserBash Browser Automation
BrowserBash is a vendor-independent, natural-language browser automation CLI. Drive a real browser from plain-English objectives or committable Markdown tests, run on local Chrome, CDP/Playwright MCP, Browserbase, LambdaTest, or BrowserStack, and stream NDJSON results with CI exit codes — using free local Ollama…
Geb Testing
Browser automation testing with Geb framework for Groovy/JVM using jQuery-like content DSL, Page Object pattern, Spock integration, and WebDriver abstraction.
playwright-cli
Use when a task needs Playwright-backed browser automation from the shell: open or attach to browser sessions, inspect snapshots and element refs, click/type/fill forms, debug Playwright tests, inspect console/network/storage, run Playwright snippets, capture screenshots/traces/videos, or generate reliable test code.…
ui-automation
WHartTest UI 自动化管理工具。用于创建、编辑、删除 UI 测试模块、页面、元素、页面步骤和测试用例。支持执行记录查询和错误分析。当需要将浏览器技能获取到的页面元素保存到平台、创建 UI 自动化用例、执行测试或分析执行结果时使用。元素采集默认优先 browser-use,无法覆盖时再用 playwright-skill 兜底。.