
Playwright test implementation
Guides an agent in writing and reviewing Playwright specs with reliable selectors
Playwright test implementation is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 12
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Playwright test implementation
This skill gives the agent a structured approach to authoring Playwright end-to-end specs for a web app whose pages and selectors have already been discovered. It covers signing in once inside a global setup script, saving the session with storageState, and reusing it across specs, including how to opt individual login-flow specs out of that shared session.
The guidance walks through a fallback order for choosing locators, favoring test IDs and role queries scoped to a container before falling back to labels, placeholders or aria-labels. It also includes patterns for Cloudscape UI components, such as table row radios, tiles, dropdowns and modal footers, where standard ARIA queries often fail. A checklist of common pitfalls and a review gate with critical, important and suggested findings are included for reviewing existing specs.
The skill expects an existing Playwright project and does not scaffold one or install Playwright; it instead points the user to the install commands and a project check. It assumes TypeScript config files and credentials supplied through environment variables.
When your agent uses it
Use when writing or reviewing Playwright specs for a discovered web app, or fixing flaky selectors. Covers selectors, global-setup.ts and storageState sessions, Cloudscape locators.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (13 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the konductor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductorOr copy only this skill to ~/.claude/skills/playwright-test-implementation:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/playwright-test-implementation &&
cp -R "$tmp/skills/playwright-test-implementation" ~/.claude/skills/playwright-test-implementation &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/playwright-test-implementation inside it instead.
Copy the skill folder to ~/.agents/skills/playwright-test-implementation to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/playwright-test-implementation &&
cp -R "$tmp/skills/playwright-test-implementation" ~/.agents/skills/playwright-test-implementation &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/playwright-test-implementation inside it instead.
Copy the skill folder to ~/.cursor/skills/playwright-test-implementation to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/playwright-test-implementation &&
cp -R "$tmp/skills/playwright-test-implementation" ~/.cursor/skills/playwright-test-implementation &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/playwright-test-implementation inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/aws-solutions/konductor.git --path skills/playwright-test-implementationOr copy the folder to ~/.gemini/skills/playwright-test-implementation yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/playwright-test-implementation:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/playwright-test-implementation &&
cp -R "$tmp/skills/playwright-test-implementation" ~/.copilot/skills/playwright-test-implementation &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/playwright-test-implementation inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aws-solutions/konductor.gitThen copy konductor/skills/playwright-test-implementation into your agent's skills folder as playwright-test-implementation. Agents that support SKILL.md read one folder per skill.
What it does
- Session reuse setup
- Shows how to sign in once in global setup, save storage state and reuse it across all specs.
- Selector fallback chain
- Orders locator choices from test IDs and scoped roles down to aria-labels to avoid fragile selectors.
- Cloudscape component patterns
- Provides locators for Cloudscape tables, tiles, dropdowns and modals that standard ARIA queries miss.
- Login-flow spec isolation
- Explains how to opt specific specs out of the global signed-in session so the login page can be tested.
- Common pitfall checklist
- Lists frequent Playwright setup and selector mistakes with the fix for each.
- Spec review gate
- Defines critical, important and suggested checks for reviewing existing Playwright specs.
Good for
- Write Playwright specs for a newly discovered web app
- Set up a global login and storageState for authenticated tests
- Fix flaky selectors in an existing Playwright suite
- Review a Playwright spec for fragile locators and missing session handling
- Write tests against a Cloudscape-based UI
Playwright test implementation FAQ
Does Playwright test implementation install Playwright?
No. It assumes Playwright is already part of the project and tells the user to add it with npm and install browsers themselves.
What does Playwright test implementation need before it runs?
An existing Playwright project and a set of pages and selectors discovered from the target app, plus login credentials supplied through environment variables.
Does Playwright test implementation cover Cypress or test planning?
No. It directs Cypress specs to a separate cypress-test-implementation skill and test planning to e2e-test-strategy.
How does Playwright test implementation handle sign-in for authenticated tests?
It shows a global setup script that logs in once, saves storage state to a fixtures folder, and wires it into the Playwright config.
How do I install Playwright test implementation in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/playwright-test-implementation to use it in all your projects, or to .claude/skills/playwright-test-implementation in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.
Does Playwright test implementation run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Playwright test implementation?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Playwright test implementation?
The closest alternatives to Playwright test implementation are Playwright skill, Playwright verification, E2E testing, Playwright E2E testing and E2E playwright.
Where this comes from
- Description: from the skill's own SKILL.md.
More from aws-solutions/konductor

Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup
- Open source
- 12 GitHub stars
- Developer tools

Installs, updates or removes the Konductor toolkit in a Kiro workspace with consent gates
- Open source
- 12 GitHub stars
- Developer tools

Onboards you to Konductor: install the CLI, set up agent content, and start a session
- Open source
- 12 GitHub stars
- Developer tools

Adversarial second-pass code review that hunts for disclosure, data integrity
- Open source
- 12 GitHub stars
- Security

Reviews a code diff for data integrity risks like partial writes and lost updates
- Open source
- 12 GitHub stars
- Developer tools

Reviews code diffs for schema, API contract and backward-compatibility risks
- Open source
- 12 GitHub stars
- Developer tools





