assert_visible
AssertionsAsserts that an element is visible or hidden.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selector | string | Yes | — | Element selector using type=value format |
visible | boolean | No | true | Whether the element should be visible |
iframe | string | No | | CSS selector for iframe context |
timeout | number | No | 5000 | Maximum wait time in milliseconds |
Usage Example
RTILA X PROJECT JSON
{
"command": "assert_visible",
"params": {
"selector": "css=.success-message",
"visible": true,
"iframe": "",
"timeout": 5000
}
}
Related Scenarios
- View /scenarios/error-handling/1 · error handling
Related Learning Articles
Was this helpful?
Thank you for your feedback!