e2e-playwright

e2e-playwright is a skill for Claude Code, Codex from nimadorostkar/Claude-Skills-collection. It costs 43 tokens per session (1,376 once invoked), scanned A, original, MIT.

A guide to testing complete user journeys in a real browser with Playwright. Playwright is a tool for automating browsers, while end-to-end tests check a feature from the user's start to finish.

In plain words
What is it for?
Use it to test important browser journeys, replace unreliable Selenium or Cypress tests, inspect network requests, reuse login sessions, and capture traces, videos, or screenshots when tests fail.
Why use it?
It reduces flaky tests that fail randomly instead of because the application is broken. It also helps diagnose failures that happen only in CI or across pages, tabs, and sign-in flows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test important browser journeys, replace unreliable Selenium or Cypress tests, inspect network requests, reuse login sessions, and capture traces, videos, or screenshots when tests fail.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/e2e-playwright
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nimadorostkar/Claude-Skills-collection --skill e2e-playwright
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for e2e-playwright

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/e2e-playwright/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/e2e-playwright)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/e2e-playwright"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/e2e-playwright/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for e2e-playwright

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/e2e-playwright"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/e2e-playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,376 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01376
Opus 5 $0.00022 $0.00688
Sonnet 5 $0.00009 $0.00275
Haiku 4.5 $0.00004 $0.00138

Measured 8d ago against content hash e0ed04a63e3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

e2e-playwright scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/testing/e2e-playwright/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

End-to-End Testing with Playwright

Purpose

Write browser tests that fail only when the application is broken. An end-to-end suite that fails randomly is worse than no suite: it consumes attention and trains the team to ignore red.

When to Use

  • Testing a complete user journey through a real browser.
  • Replacing a flaky Selenium or Cypress suite.
  • Testing flows that cross pages, tabs, or authentication.
  • Debugging an intermittent E2E failure.

Capabilities

  • Resilient locators based on user-visible attributes.
  • Auto-waiting and web-first assertions.
  • Network interception, mocking, and request assertion.
  • Authentication state reuse across tests.
  • Parallel execution and sharding.
  • Trace, video, and screenshot capture on failure.

Inputs

  • The journeys that matter enough to test end to end (there are fewer than you think).
  • The application, its authentication, and its test data strategy.

Outputs

  • Tests locating elements by role and accessible name.
  • Zero explicit waits or sleeps.
  • Traces on failure that make a CI-only failure diagnosable.

Workflow

  1. Choose the journeys — End-to-end tests are slow and expensive. Test the paths whose failure would be a serious incident: sign up, check out, pay. Not every form.
  2. Locate the way a user wouldgetByRole("button", { name: "Place order" }). Not a CSS class, not an XPath. Class names change; the accessible name is the contract with the user.
  3. Never sleep — Playwright's assertions auto-wait and retry. waitForTimeout is the single largest cause of both flakiness and slowness in an E2E suite.
  4. Reuse authentication — Log in once in a setup project, save the storage state, and reuse it. Logging in before every test triples the suite runtime.
  5. Control the network where the test is not about the network — Mock the third-party payment provider; do not depend on its sandbox being up.
  6. Capture traces on failure — A CI failure with a trace is diagnosable in two minutes. Without one, it is a mystery.

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 122 lines · 43 tokens per session scan A e0ed04a63e3e

Subscribe to this mod's changes

e2e-playwright is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (26 stars, last pushed 24d ago), licensed MIT. It adds 43 tokens to every session and 1,376 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

lingxling/awesome-skills-cn · 35 tokens

browser-testing-with-devtools

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be…

addyosmani/agent-skills · 68 tokens

actionbook-web-test

Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…

actionbook/actionbook · 71 tokens

web-test

A browser-automation tool for testing the 1C:Enterprise web client. It uses Playwright to navigate sections, fill forms, read tables and reports, and perform user actions in a browser.

Nikolay-Shirokov/cc-1c-skills · 44 tokens

agent-browser

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

code-yeongyu/oh-my-openagent · 51 tokens

smoke-test

Launch the app and hands-on verify that it works by interacting with it. Falls back to an existing integration test suite when there is no interactive surface in scope. Use when the user asks to "smoke test", "test it manually", "verify it works", "try it out", "run a smoke test", "check it in the browser", or "does…

tobihagemann/turbo · 88 tokens