browser_select_dropdown_by_text
Select dropdown options by visible text in web automation. Use this tool to interact with dropdown menus by specifying the exact text of the option you want to select.
Instructions
Select dropdown by visible text
Input Schema
Name | Required | Description | Default |
---|---|---|---|
by | Yes | Locator strategy to find element | |
text | Yes | Visible text of the option to select | |
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"
},
"text": {
"description": "Visible text of the option to select",
"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",
"text"
],
"type": "object"
}