browser_element_is_enabled
Check if a web element is enabled for interaction using locator strategies like ID, CSS, or XPath. Determine element state before performing actions in automated browser testing.
Instructions
Checks if an element is enabled
Input Schema
Name | Required | Description | Default |
---|---|---|---|
by | Yes | Locator strategy to find element | |
timeout | No | Maximum time to wait for element in milliseconds | |
value | Yes | Value for the locator strategy |
Input Schema (JSON Schema)
{
"properties": {
"by": {
"description": "Locator strategy to find element",
"enum": [
"id",
"css",
"xpath",
"name",
"tag",
"class",
"link",
"partialLink"
],
"type": "string"
},
"timeout": {
"description": "Maximum time to wait for element in milliseconds",
"type": "number"
},
"value": {
"description": "Value for the locator strategy",
"type": "string"
}
},
"required": [
"by",
"value"
],
"type": "object"
}