{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "idavidov13-agentic-playwright--map-web-app-flows-with-playwright-cli",
 "repo": "idavidov13/agentic-playwright",
 "repo_url": "https://github.com/idavidov13/agentic-playwright",
 "repo_slug": "idavidov13-agentic-playwright",
 "title": "Map a web app's flows with playwright-cli before testing",
 "page_title": "How to map a web app's flows with playwright-cli before testing with Agentic Playwright",
 "summary": "Use playwright-cli to explore a live app, trace its flows, and inspect storage before writing tests.",
 "who": "A QA engineer facing an unfamiliar web application who needs to learn its screens and flows before writing test cases.",
 "problem": "Writing tests against an app you have not explored leads to guessed selectors and missed flows.",
 "outcome": "A captured view of the app's UI, navigation, and storage state that you can use to plan page objects and test cases.",
 "steps": [
  "Scaffold the project with `npm create agentic-playwright . -- --bare` if your app URL is not the demo app.",
  "Ask the assistant to use playwright-cli to open <app-url> and walk through the main flows such as login and search.",
  "Review the captured traces, screenshots, and storage details the exploration produced.",
  "Use the findings to create page objects and test cases in the project."
 ],
 "agent_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.",
 "agents": [
  "claude-code",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README names playwright-cli as the default exploration path but does not give its exact command syntax, so check the playwright-cli skill's own documentation for usage.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/idavidov13-agentic-playwright/map-web-app-flows-with-playwright-cli/",
 "md": "https://dedupedai.com/use-cases/idavidov13-agentic-playwright/map-web-app-flows-with-playwright-cli/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/idavidov13-agentic-playwright--map-web-app-flows-with-playwright-cli.json",
 "api_version": "v1"
}
