assert, but the agent reasons over the screenshot rather than
the DOM. Use this when the property under test is purely visual, such as color,
layout, icons, or charts.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
that | string | Yes | What must be true on the page, purely from the screenshot. |
timeout | number | No | Maximum time in milliseconds to wait. |
iframe | string | No | URL or URL pattern of the iframe that contains the target element. |
saveAs | string | No | Name of the variable to write this step’s return value to. |
retries | number | No | Number of times to retry the step on failure before failing the test. |
skipped | boolean | No | Skip this step at execution time. |