Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

playwright-cli

Drive a real browser from the command line to click, fill, and inspect web pages.

When to use it

You have a web page or flow to test but no automated way to step through it and capture what happens.

For example

You say

Use playwright-cli to open my local signup page at http://localhost:3000/signup, fill in the form with a test email, submit it, and tell me what the page shows afterward.

You get
  • Page snapshot after submit
  • Console and network log
  • Screenshot of result

How it works

  • Snapshots give element refs so you can click and type by reference instead of writing selectors.
  • You can mock network responses, save login state, and record video or traces for debugging.

Before installing

Requires the playwright-cli command, installed globally via npm or run through npx.