Test a UI flow
If you ask
“Test the signup flow: go to /register, fill out the form with test data, and verify the confirmation email page appears”
Then
Describe a user flow in plain English and Playwright executes it as a real test.
Works in Claude, Codex, Cursor & any MCP agent
How this prompt works
-
Turn on the Playwright connector in Claude, ChatGPT or Cursor — once.
-
Paste the prompt above. No code, no menus.
-
Describe a user flow in plain English and Playwright executes it as a real test.
FAQ
How do I test a ui flow with Playwright?
Add the Playwright MCP connector once, then paste this prompt into Claude or ChatGPT: "Test the signup flow: go to /register, fill out the form with test data, and verify the confirmation email page appears". Your AI runs it in Playwright.
Do I need to code?
No. You install the connector once (a short config or one click), then ask in plain words. The prompt on this page works as-is.
Which AI assistants work?
Claude (Desktop, Code), Cursor, ChatGPT and other MCP clients. The same prompt works across them.
Set up Playwright in Claude
Copy-paste config, setup steps and more ready-to-run prompts on the connector page.
Open Playwright setupMore prompts