select_option
Choose a specific option from a dropdown menu in Safari on macOS using a CSS selector, option value, text, or index for web automation and testing tasks.
Instructions
Select an option from a dropdown
Input Schema
Name | Required | Description | Default |
---|---|---|---|
index | No | Option index to select | |
selector | Yes | CSS selector for the select element | |
text | No | Option text to select | |
value | No | Option value to select |
Input Schema (JSON Schema)
{
"properties": {
"index": {
"description": "Option index to select",
"type": "number"
},
"selector": {
"description": "CSS selector for the select element",
"type": "string"
},
"text": {
"description": "Option text to select",
"type": "string"
},
"value": {
"description": "Option value to select",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}