Browser QA Session Script
By Reese Martinez · Published · Updated
Reproduces a bug in a real browser, captures evidence, writes the regression test, and verifies the fix against it.
Prompt template
## Browser QA Session Script Reproduce and pin down this browser bug. - Bug report: [textarea: What users see and what they expected] - Steps to reproduce: [textarea: Numbered steps if known] - Environment: [text: Browser and version and device] - App URL or local command: [text: Where to run it] - Test framework: [dropdown: Playwright, Cypress, Selenium, Testing Library] - Test account type: [text: Role only and never credentials] Follow the steps in a real browser and watch the console, network panel, and page. If the bug does not reproduce, vary one thing at a time (browser, viewport, account role, data) and record which change matters. Once reproduced, capture evidence: a screenshot, the console error text, the failing request with status, and the shortest set of steps. Write a failing regression test in the chosen framework that encodes the bug and fails for the right reason. Only then apply or review the fix, rerun the test until it passes, and rerun the nearby tests to catch side effects. Finish with a report: reproduction steps, evidence, root cause, the test file, and the test run result before and after.