Skip to main content

select_option

Interaction

Selects an option in a native select element.

Parameters

Parameter Type Required Default Description
selector string Yes — Element selector using type=value format
value string Yes — Option value or visible text
iframe string No CSS selector for iframe context
timeout number No 5000 Maximum wait time in milliseconds

Usage Example

RTILA X PROJECT JSON
select_option.json
{
  "command": "select_option",
  "params": {
    "selector": "css=#country",
    "value": "USA",
    "iframe": "",
    "timeout": 5000
  }
}

Related Scenarios

Related Learning Articles

Was this helpful?