---
title: "Verify with AI in a web test"
sidebarTitle: "Verify with AI"
description: Assert anything about the current page in plain language, evaluated by AI.
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

Verify things a selector can't express: "the chart shows an upward trend", "the cart total matches the sum of the items", "no error banner is visible". The AI looks at the current screen and judges whether your assertion holds.

## Parameters

| Parameter | Required | Description |
| ----------- | ---------- | ------------- |
| Assertion | Yes | What should be true, in plain language. For example: "The cart shows 2 items and a total of 39,98 €". Supports variables. |
| Ignore error on this step | No | The run continues with the next step if this one fails. Default: off. |

## Results and metrics

- **Timing**: start, end, and duration (in seconds) recorded in the step result.
- **Status**: success when the AI judges the assertion true on the current screen, failed otherwise, with the AI's explanation in the result.
- **Screenshot**: captured for the asserted state, so you can review what the AI evaluated.
- **AI usage**: the AI cost of the evaluation is added to the run.

For writing reliable assertions, see [Verify with AI](/ai/verify-with-ai).

## What's next?

<Columns cols={2}>
  <Card title="Verify with AI guide" icon="sparkles" href="/ai/verify-with-ai">

    Patterns for writing assertions the AI evaluates reliably

</Card>
  <Card title="Verify element" icon="eye" href="/tests/actions/web/verifyelement">

    Deterministic element checks, when a selector is enough

</Card>
</Columns>
