Lightlines
Catalogue
Sign in
By microsoft

playwright-cli

microsoft

Drive pages and debug Playwright tests from the command line.

browser automation

What it does

Automates browser interactions, tests web pages, and supports Playwright test debugging.

When to use it

Use for browser interactions, web-page testing, or work with Playwright tests.

How to use it

Give it a browser automation or testing request; it performs browser commands and returns snapshots of the resulting page state.

Uses


Access · 6

This skill

browser user data

Write

Deletes persistent browser user data (irreversible)

browser storage

Write

Changes and clears browser storage (irreversible)

GitHub

Write

Posts attachments to GitHub (irreversible)

web pages

Write

Submits data to web pages (irreversible)

Good to know

  • cannot be undone: browser user data; browser storage; GitHub; web pages

What you need · 3

Requires either the global playwright-cli command or a local Playwright version callable through npx.

gh 2.99+ enables the optional workflow for attaching screenshots and videos to pull requests and issues.

The optional attachment workflow requires push access to a GitHub repository and is limited to GitHub.com or GitHub Enterprise Cloud.


About this skill

Visibility
Public
Repository
microsoft/playwright-cli
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
11