---
title: "Writing Tests"
description: "Learn how to write effective TestDriver tests with natural language"
icon: "pencil"
---

Learn how to write effective TestDriver tests. This section covers everything from generating tests with AI to making assertions.

<CardGroup cols={2}>
  <Card title="Generating Tests" icon="wand-magic-sparkles" href="./generating-tests">
    Use AI coding agents and exploration mode to generate tests
  </Card>
  <Card title="Locating Elements" icon="crosshairs" href="./locating-elements">
    Find UI elements using natural language descriptions
  </Card>
  <Card title="Waiting for Elements" icon="clock" href="./waiting-for-elements">
    Handle async operations and prevent flaky tests
  </Card>
  <Card title="Performing Actions" icon="computer-mouse" href="./performing-actions">
    Click, type, hover, scroll and more
  </Card>
  <Card title="Making Assertions" icon="check-double" href="./making-assertions">
    Verify application state with AI-powered assertions
  </Card>
</CardGroup>
