Assert
assertDetermine whether a UI element is visible or hidden on the current screen, returning immediate pass/fail without polling.
Instructions
Assert an element is visible or not visible on the current screen. Returns pass/fail without polling (use wait_for to wait).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| text | No | ||
| index | No | ||
| condition | No | visible | |
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) | |
| resource_id | No | ||
| accessibility | No |