AI
assert
Run an AI assertion against the DOM, accessibility tree, and screenshot.
The agent inspects the current page state and returns whether the assertion
holds. Use for semantic checks that are awkward to express as a CSS selector or
substring match.