> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rehearsal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# What is Rehearsal?

> AI that writes Playwright tests for you

**Rehearsal turns plain English into production-ready Playwright tests.**

* **Describe what to test** → Get working code in 2 minutes
* **No test maintenance** → Self-healing, auto-updating tests
* **GitHub PR reviews** → Automated testing on every pull request

<CardGroup cols={2}>
  <Card title="Create Your First Test" icon="play" href="/creating-tests">
    Write tests in natural language or record your browser
  </Card>

  <Card title="GitHub Integration" icon="github" href="/github-pr-bot">
    Run tests automatically on pull requests
  </Card>
</CardGroup>

## Who is this for?

<AccordionGroup>
  <Accordion title="Frontend Engineers">
    Ship faster without writing test boilerplate. Describe user flows, get Playwright code.
  </Accordion>

  <Accordion title="QA Teams">
    Scale test coverage without hiring. AI handles writing, you handle strategy.
  </Accordion>

  <Accordion title="Startups">
    Test coverage from day one. No QA team required.
  </Accordion>
</AccordionGroup>

## How it works

1. **Describe the test** → "Add green shirt to cart and checkout"
2. **AI writes Playwright code** → Clean TypeScript with assertions
3. **Run in CI/CD** → GitHub bot comments on PRs with results

<Note>
  Tests run in real browsers using Playwright. Code is saved to your repo.
</Note>
