Get Select Options

Store the option values of a <select> element as a list.

Web BrowserGetOption

What it does

Store the option values of a <select> element as a list.

Parameters

ParameterTypeRequiredDefaultDescription
Browser instancevariable
RequiredbrowserName that identifies this browser session.
Selector typedropdown
CSS · XPath · ID · Name · Text
RequiredCSS
Selectorstring
RequiredElement selector (matches the selector type).
Example: #submit
Supports variables
Store options invariable
Required
Example: options

More Web Browser commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.