browser_select_dropdown_by_value
Selects a dropdown option by its value attribute using various locator strategies for automated web testing and browser interaction.
Instructions
Select dropdown by value
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 of the option to select |
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": "Maximum time to wait for element in milliseconds",
"type": "number"
},
"value": {
"description": "Value of the option to select",
"type": "string"
}
},
"required": [
"by",
"value"
],
"type": "object"
}