What do you want to do?
5 use cases
-
Get a green Playwright TypeScript suite in under 5 minutes
Scaffold a running Playwright and TypeScript test project and see the smoke test pass before writing any code.
- Agentic Playwright
- Software and DevOps
- Intermediate
View prompt
In the agentic-playwright repo, run `npm create agentic-playwright <target-folder> -- --demo` from an empty <target-folder>. Expected output: the scaffold installs dependencies and a browser and the smoke test passes against the demo app. Verify the smoke test result is green before making any changes.
-
Have an AI assistant write tests that follow team rules
Use the bundled rules and write-time hook so Claude Code or Cursor produces tests in the project's required style.
- Agentic Playwright
- Claude Code
- Cursor
- Software and DevOps
- Intermediate
View prompt
In the agentic-playwright repo, write a Playwright test for <feature-under-test> using the Constitution and skills under .claude/. Expected output: a spec with page objects, Given/When/Then steps, web-first assertions, and one tag. Verify the file has no waitForTimeout, XPath, or any type, and that `npm test` passes.
-
Add API contract tests with Zod validation and fixtures
Write API tests using the apiRequest fixture, Zod schema checks, and setup and teardown helper fixtures.
- Agentic Playwright
- Software and DevOps
- Intermediate
View prompt
In the agentic-playwright repo, write an API test for <api-endpoint> using the apiRequest fixture and a Zod schema, with setup and teardown fixtures. Expected output: a passing API spec that validates the response shape. Verify that the schema is defined with Zod and that `npm test` passes.
-
Map a web app's flows with playwright-cli before testing
Use playwright-cli to explore a live app, trace its flows, and inspect storage before writing tests.
- Agentic Playwright
- Claude Code
- Cursor
- Software and DevOps
- Intermediate
View prompt
In the agentic-playwright repo, use playwright-cli to explore <app-url> and capture the login and main navigation flows. Expected output: a summary of screens, selectors, and storage state that is usable for page objects. Verify the summary names the flows walked and that no test code was changed.
-
Block bad commits with lint and version drift checks
Run the bundled lint, skill drift, and version checks so broken rules or mismatched versions never get committed.
- Agentic Playwright
- Software and DevOps
- Advanced
View prompt
In the agentic-playwright repo, run `npm run check:skills-drift`, `npm run check:skills-references`, `npm run check:version`, and `npm run skills:verify`. Expected output: each command exits with a clear pass or a non-zero drift error. Verify all four exit with status zero before reporting success.
How to use Agentic Playwright
- Check you have what it needs: Node.js v22.x or later; npm v10.x or later; An empty directory or empty git repo for the test project.
- Open idavidov13/agentic-playwright on GitHub and read the README and license.
- Create an empty directory for the tests, or clone an empty git repo, and open a terminal in it.
- Run
npm create agentic-playwright . -- --demo. - Wait for the scaffold to install dependencies and a browser, then for the smoke test to run against the demo application.
- Confirm the smoke test is green, then open the example files such as the page objects and login spec to see the patterns.
These steps come from our top use case, Get a green Playwright TypeScript suite in under 5 minutes, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAgentic Playwright alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forQA engineers and developers who want a working Playwright TypeScript test suite and use an AI coding assistant to write tests.
- Why it is hot
- LanguagePython
- Sourcegithub.com/idavidov13/agentic-playwright · Back to Hot repos
Requirements
- Node.js v22.x or later
- npm v10.x or later
- An empty directory or empty git repo for the test project
- A web application URL to test, or the --demo option to try the bundled demo app
Maintain Agentic Playwright? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/idavidov13-agentic-playwright/?ref=badge)
Questions about Agentic Playwright
What is Agentic Playwright?
A Playwright and TypeScript test scaffold with page objects, API contracts, data factories, CI, and AI assistant rules that load automatically. It is an open-source project on GitHub: https://github.com/idavidov13/agentic-playwright.
Who is Agentic Playwright for?
QA engineers and developers who want a working Playwright TypeScript test suite and use an AI coding assistant to write tests.
What can I do with Agentic Playwright?
5 use cases so far, for example: Get a green Playwright TypeScript suite in under 5 minutes; Have an AI assistant write tests that follow team rules; Add API contract tests with Zod validation and fixtures. Each has steps and a copy-paste agent prompt.
What do I need to run Agentic Playwright?
Node.js v22.x or later; npm v10.x or later; An empty directory or empty git repo for the test project; A web application URL to test, or the --demo option to try the bundled demo app.
What are alternatives to Agentic Playwright?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Agentic Playwright safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.