Skip to content
Kitbay
Submit

playwright-trace

Apache-2.0Updated on Nov 11, 202699,846GitHub stars

playwright-trace is a skill kept with the playwright-core package sources that teaches an agent to inspect Playwright trace archives from the terminal instead of the graphical trace viewer.

What the skill teaches

playwright-trace is a skill kept with the playwright-core package sources that teaches an agent to inspect Playwright trace archives from the terminal instead of the graphical trace viewer. Using npx playwright trace subcommands, the agent opens a trace zip, lists recorded actions with their IDs and timings, filters for failed ones, drills into a single action's parameters, logs and source location, and reviews network requests, console output, errors, DOM snapshots and screenshots before closing the extracted data. Its frontmatter limits the agent's shell access to those trace commands. The skill is instructions only.

Capabilities

  • Open a Playwright trace file and show its metadata
  • List recorded actions and filter failed ones
  • Show one action's parameters, logs and source location
  • Review requests, console output, errors and DOM snapshots from a trace