Playwright command line plus an agent skill: open pages, click, type and screenshot without loading MCP tool schemas.

How it works

Foe: Flaky Wisp, a failing or flaky test.

Foes

  • Flaky Wisp

Party · Context

  • SentinelYour agent100/100
  1. Flaky Wisp

    The Flaky Wisp blocks the way.

    What really happensIt stands for a failing or flaky test.

    Sentinel: Context 100/100.

  2. Flicker

    The Flaky Wisp uses Flicker.

    What really happensA flaky test passes on one run and fails on the next.

    Sentinel takes 8. Sentinel: Context 92/100.

  3. Microsoft Playwright CLI

    The hero learns the Playwright CLI words.

    What really happensplaywright-cli install --skills adds the skill. The agent can also learn the commands from playwright-cli --help.

    Flaky Wisp takes 15.

  4. Microsoft Playwright CLI

    A quiet window opens onto the app.

    What really happensplaywright-cli open <url> starts a headless browser. Each session keeps its cookies and storage between calls.

    Flaky Wisp takes 28.

  5. Flicker

    The Flaky Wisp uses Flicker.

    Sentinel takes 8. Sentinel: Context 84/100.

  6. Microsoft Playwright CLI

    Short words drive the page: type, press, check.

    What really happensThe agent runs commands such as type, press Enter, check e21 and screenshot, without loading page trees into context.

    Flaky Wisp takes 31.

  7. Microsoft Playwright CLI

    The wisp is caught on a screenshot.

    What really happensYou get screenshots of passing and failing steps. playwright-cli show lets you watch or take over any session.

    Flaky Wisp takes 26. Flaky Wisp falls.

  8. Victory

    The Flaky Wisp falls.

Learn this spell

Claude Code

npm install -g @playwright/cli@latest
playwright-cli install --skills

Notes

Version 0.1.22. Needs Node.js 18+. The README says coding agents fit the CLI best because it uses fewer tokens, and keeps Playwright MCP (playwright-mcp) for long exploratory or self-healing loops. Headless by default; pass --headed to watch. Sessions keep cookies in memory, -s=<name> picks a browser, and playwright-cli show opens a dashboard of running sessions. The README names Claude Code and GitHub Copilot.

This spell has no recorded sessions in the curator's logs. Tried it? Send a spell report.