Testing

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.

0:00 / 0:00

How It Works

  1. 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")
  2. Agent explores your app — A browser agent traverses your application, interacting with pages like a real user
  3. Playwright code is generated — The agent writes Playwright test code based on what it encountered
  4. 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

  1. Go to Testing > Autotest
  2. Select the repository
  3. Enter the target URL
  4. Write a prompt describing what to test
  5. Run the test

Authentication

If your app requires login, you can record an auth state before running tests.

  1. Click Record Auth State
  2. A browser opens — log in to your app manually (OAuth, SSO, email/password, etc.)
  3. Close the browser when you're logged in
  4. 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