In short.
Playwright Skill is a browser automation skill for coding assistants and web developers that requires running generated scripts with the launching account's permissions. Version 5.0.0 provides a Node.js executor, six browser helpers and examples for screenshots, responsive checks and login flows. Its implementation is a small wrapper around Playwright; broader testing features in the reference require additional setup or packages. Notable limitations include narrow local-server detection, a generic cookie-banner clicker and automatic disabling of Chromium's sandbox when the launchBrowser helper runs as root. Nothing was executed, so installation, browser behavior, reliability and performance were not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied skills/playwright-skill folder at revision dd47a6a023e249eb1b36e9e943eab89d0900865d: SKILL.md, API_REFERENCE.md, run.js, lib/helpers.js, package.json and package-lock.json. The root LICENSE is included as a related notice outside that folder. The broader repository, externally referenced tests, installed dependencies, browser binaries and external documentation contents are excluded. Installation, scripts, browser journeys, screenshots, assertions, CI examples, accessibility checks and performance measurements were not executed or validated.
The overview
Identity
Playwright Skill, authored by lackeyjb, supplies instructions and supporting JavaScript for a coding assistant to write and execute browser automation. SKILL.md and package.json both declare version 5.0.0. It relies on Playwright rather than supplying its own AI model.
The original source location is [https://github.com/lackeyjb/playwright-skill/tree/main/skills/playwright-skill]. The source described here is revision dd47a6a023e249eb1b36e9e943eab89d0900865d, limited to that skill folder and the accompanying root licence notice.
Assessment
The source supports a practical use case: asking a coding assistant to inspect a website, generate a focused browser script and preserve screenshots or reusable scripts. The runner resolves the skill's Playwright installation while preserving the caller's working directory, which helps scripts use project-relative paths.
Its usefulness depends on the generated script choosing the right page elements and checking meaningful results. The included guidance recommends checking the resulting page, including a destination URL and visible heading after login. No execution evidence establishes how consistently an assistant follows that guidance or how reliably the package runs.
Users
Web developers using a coding assistant are the clearest audience, especially for local application checks, form interactions, screenshots and investigating a reported browser problem. The documented installation locations use Claude-style skill and plugin directories; compatibility with other assistant hosts is not established.
Beginners receive concrete examples but still need to install dependencies, identify the correct website and understand basic script failures. Experienced developers can extend the scripts with ordinary Playwright APIs, environment variables, request interception and explicit assertions.
Capabilities
The six implemented helpers detect local development servers, read extra HTTP headers from environment variables, launch a browser, create a browser context, attempt to dismiss a cookie banner and save a screenshot. Browser selection supports Chromium, Firefox and WebKit, subject to installation.
The instructions demonstrate login navigation, desktop and mobile viewport screenshots, script preservation and connection to an existing Chrome debugging session. The reference adds examples for network mocking, downloads, device emulation, visual comparisons, accessibility checks and CI. These examples describe possible scripts; the helper library does not implement a complete testing system for each task.
Using it
Requirements
The declared requirements are Node.js 20 or later, npm and network access during initial setup to install Playwright and Chromium. The assistant needs access to the skill instructions and permission to read and write files and launch Node.js processes. Browser scripts also need access to their target website.
Visible browser mode is the default; an environment without a display needs headless configuration. Login checks need suitable test credentials. The captured package declares only playwright as a direct dependency, while reference examples also import @playwright/test and axe-playwright; those examples require additional dependency setup. Supported operating-system configurations and resource requirements were not assessed.
Mechanism
The assistant writes JavaScript and passes it to run.js as a file or an inline expression. The runner launches a child Node.js process, exposes the skill's modules through NODE_PATH and supplies PW_SKILL_DIR for helper imports. It inherits the caller's environment and working directory. File-based scripts can be copied to PW_SCRIPT_DIR before execution.
Inline execution preloads Playwright browser objects and the helpers, wraps the supplied code in an asynchronous function and exits when that function settles. Scripts should close their browser explicitly. The runner forwards interruption signals to the child and escalates to SIGKILL after two seconds if needed.
The context helper defaults to a 1280 by 720 viewport, en-US locale and America/New_York timezone. Explicit context headers override environment-provided headers. When PW_HEADER_NAME and PW_HEADER_VALUE are both set, the implementation uses only that header and ignores PW_EXTRA_HEADERS; the two formats are not merged.
Setup
The documented setup starts by locating the directory containing SKILL.md and assigning that path to SKILL_DIR. From that directory, npm run setup executes npm install followed by npx playwright install chromium. The separate npm run install-all-browsers command installs Chromium, Firefox and WebKit.
For a file-based task, the documented invocation is node "$SKILL_DIR/run.js" <script.js>. Scripts normally live in the operating system's temporary directory; PW_SCRIPT_DIR preserves copies and PW_ARTIFACT_DIR controls helper screenshot output. The supplied folder documents likely installation paths, but does not establish a complete marketplace installation procedure or successful setup on a particular machine.
Example
For a local application's sign-in check, the documented pattern opens the application's /login path, fills the labelled Email and Password fields using TEST_EMAIL and TEST_PASSWORD, clicks the sign-in button, waits for a dashboard URL and checks for a Dashboard heading. This checks a visible post-login condition as well as navigation.
A separate responsive example visits the target at desktop dimensions of 1440 by 900 and mobile dimensions of 390 by 844, saving a full-page screenshot for each. These are example procedures only: no login outcome or screenshot result was supplied, and viewport screenshots alone do not establish mobile usability.
Assessment & evidence
Limitations
The runner executes ordinary JavaScript with inherited account access and environment variables; it does not add an execution sandbox. The browser helper also adds --no-sandbox automatically when launching Chromium as root. Connecting to an existing Chrome debugging session reuses that session's cookies and access.
Development-server detection probes a fixed list of localhost ports, plus optional caller-supplied ports, using HTTP HEAD requests. A response below status 500 counts as a server, including responses such as 401 or 404. Discovery therefore does not establish that the intended application is ready or healthy.
The cookie-banner helper tries broad selectors including buttons labelled Accept, OK and I agree. Those selectors could match an unrelated control. Its behavior should be considered before using it on pages where clicks change meaningful state.
The documentation gives differing locator priorities: SKILL.md starts with accessible roles, while API_REFERENCE.md starts with test attributes. The package's test command also points to repository tests outside the selected folder; those tests and their results are absent.
Reasoning
The resource's practical value comes from combining assistant instructions with a consistent executor and a small helper library. Preserving the caller's working directory, exposing the installed Playwright package and optionally copying scripts can reduce repeated setup for individual browser tasks.
The same flexibility leaves correctness in the generated script. Meaningful locators, explicit post-action checks and appropriate test data determine whether a browser journey proves the intended behavior. Source inspection supports that design assessment; it does not establish an improvement in speed, accuracy or test stability.
Alternatives
The supplied reference demonstrates two direct alternatives: ordinary Playwright scripts and suites using @playwright/test with configuration, assertions, projects and reporting. Direct scripts may suit developers who already manage their browser dependencies; a configured test suite may suit checks that need to remain in a project and run repeatedly in CI.
The reference links to the underlying documentation at [https://playwright.dev/docs/intro]. No comparative results against other browser automation skills or agent tools are supplied, so relative reliability, speed and assistant compatibility are unknown.
Evidence
The supplied source contains all six files in the selected skill folder: SKILL.md, API_REFERENCE.md, run.js, lib/helpers.js, package.json and package-lock.json. The repository's root LICENSE supplies the accompanying licence notice. Instructions and reference examples establish intended use; the JavaScript establishes the runner and helper implementation.
The immutable folder location is [https://github.com/lackeyjb/playwright-skill/tree/dd47a6a023e249eb1b36e9e943eab89d0900865d/skills/playwright-skill]. Repository tests, installation logs, browser artifacts, benchmarks and execution results were not supplied. Nothing was executed.
Access & freshness
Costs
No purchase price, subscription price or usage tariff is stated for the skill. Its MIT licence grants permission to use, modify and redistribute the software free of charge. Total operating cost remains unknown: the evidence provides no coding-assistant charges, computing costs, browser storage requirements or execution-time measurements.
Rights
The root MIT licence permits use, copying, modification, publication, distribution, sublicensing and sale. Copies or substantial portions must retain the copyright and permission notices. The copyright notice names lackeyjb and 2025. The software is supplied without warranty.
SKILL.md and package.json also declare MIT. The lockfile identifies Playwright and playwright-core as Apache-2.0 and the optional macOS fsevents dependency as MIT. Their full licence texts and browser distribution notices are not included in the supplied evidence, so redistribution of installed dependencies needs separate attention to those notices.
Freshness
The supplied snapshot was captured on 15 November 2026 at 18:38:27.500 UTC and declares skill version 5.0.0. package.json allows Playwright versions matching ^1.62.0; package-lock.json records Playwright and playwright-core 1.62.1. The setup command uses npm install, so dependency resolution may change if the lockfile is updated. The release date, subsequent source changes and current branch contents are unknown.
Actions
Start with a simple page on an application you control: confirm the target URL, request one visible page check and save a screenshot. Review the generated script before execution, use a non-root account and supply dedicated test credentials when authentication is needed.
For repeatable project checks, preserve scripts and artifacts in explicit directories and add assertions for the intended user outcome. Review the context's locale and timezone defaults. Install the additional packages required by any advanced reference examples, and assess the resulting page and failure output before relying on an automated result.
