assert_element_not_visible
Verify that a web element is hidden or absent, confirming it is not visible on the page and validating the expected UI state.
Instructions
Assert an element is NOT visible (hidden or absent).
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": {
"selector": "<selector>"
},
"name": "assert_element_not_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | css | |
| timeout | No | ||
| selector | Yes |