assert_text
Assert that a mobile UI element with a specific resource ID displays the expected text, enabling automated verification of on-screen content during tests.
Instructions
Assert that an element with a given resource ID contains the expected text
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Target device ID. If omitted, uses the default device. | |
| resource_id | Yes | Bare resource-id, e.g. login_button; regex full-match | |
| expected_text | Yes | The expected text content of the element |