Autotest
Give a prompt and URL, and a browser agent writes Playwright tests for you.
Autotest lets you describe what to test in plain English. A browser agent navigates your live application, writes Playwright test code, and opens a PR with the results — including what it found, what went wrong, and the generated tests.
How It Works
- Provide a URL and prompt — Enter your app's URL and describe what you want tested (e.g. "test the checkout flow", "make sure login works")
- Agent explores your app — A browser agent traverses your application, interacting with pages like a real user
- Playwright code is generated — The agent writes Playwright test code based on what it encountered
- PR is opened — A pull request is created with the generated tests, screenshots, and a summary of what was found and what went wrong
Creating an Autotest
- Go to Testing > Autotest
- Select the repository
- Enter the target URL
- Write a prompt describing what to test
- Run the test
Authentication
If your app requires login, you can record an auth state before running tests.
- Click Record Auth State
- A browser opens — log in to your app manually (OAuth, SSO, email/password, etc.)
- Close the browser when you're logged in
- Paragon captures your cookies, localStorage, and sessionStorage
The recorded auth state is encrypted and saved so the agent can reuse it when running tests. You don't need to re-record unless the session expires.
Use a dedicated test account for recording auth state.
Results
When the agent finishes, you get:
- Generated Playwright tests ready to run in your repo
- Screenshots from the agent's browser session
- Summary of findings — what worked, what broke, and reproduction steps
- A pull request with all of the above
Next Steps
Test Runner
Learn how tests run on PRs, pushes, and schedules