browser_wait_for_element
Wait for a web element to appear using specified locator strategies before proceeding with automation tasks, ensuring reliable interaction timing.
Instructions
Wait for an element to be present
Input Schema
Name | Required | Description | Default |
---|---|---|---|
by | Yes | Locator strategy to find element | |
timeout | Yes | Timeout in milliseconds | |
value | Yes | Value for the locator strategy |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"by": {
"description": "Locator strategy to find element",
"enum": [
"id",
"css",
"xpath",
"name",
"tag",
"class",
"link",
"partialLink"
],
"type": "string"
},
"timeout": {
"description": "Timeout in milliseconds",
"type": "number"
},
"value": {
"description": "Value for the locator strategy",
"type": "string"
}
},
"required": [
"by",
"value",
"timeout"
],
"type": "object"
}