appium.assert_visible
Verify if a mobile UI element is visible using a locator; returns false instead of throwing an error when it is not found.
Instructions
Assert that a locator is visible. Returns passed false instead of throwing when not visible.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"locator": "<locator>"
},
"name": "appium.assert_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locator | Yes | ||
| serverUrl | No | ||
| sessionId | Yes | ||
| timeoutMs | No |