assert, but the agent
reasons over the screenshot rather than the accessibility/XML hierarchy. Reach
for it when the screen is rendered in a way the hierarchy cannot describe (for
example a WebView with multiple pages) or when the condition is purely visual,
such as color, layout, icons, or charts. The simplified form takes the condition
as a single string.
AI
assertVisually
Run an AI assertion about the screen using a screenshot only.
Same shape as