Select Option

This action selects an option in a drop-down box or a list box.

The found tag must be the <select>-tag of the drop-down/list box, not the <option>-tag for the option to select.

Note that selecting the option may trigger execution of JavaScript, if there are any registered event handlers on the <select>-tag.

To select multiple options at the same time in a list box, use the Select Multiple Options action. To loop through options, use the For Each Option action.

Properties

The Select Option action can be configured using the following properties:

Option to Select

The option to select. This can be specified in several ways using the Value Selector. Note that this value must correspond to an <option>-tag inside the <select>-tag, and that it may match either the value as it appears in the form, or the value shown for the option in the drop-down/list box. More specifically, the matching is done as follows:

  • If the value exactly matches the "value" attribute of an <option>-tag, the first such <option>-tag is selected.
  • Otherwise, if the value matches the "value" attribute of an <option>-tag without regard for leading or trailing space characters, the first such <option>-tag is selected.
  • Otherwise, if the value matches the text inside an <option>-tag without regard for leading or trailing space characters, the first such <option>-tag is selected.
Case Sensitive

When checked, matching of the option value is done case-sensitively.

Continue when
Add a wait criterion for the step. If you have several wait criteria, execution stops when any wait criterion is met. You can have several met wait criteria such as if you are waiting for two HTML elements that appear on the same load, or if you are waiting for an element on the main frame, and Initial Page Load Completes is set. For more information, see Use Wait Criteria.
Options

The robot's options can be overridden with the step's own options. An option that is marked with an asterisk in the Options Dialog will override the one from the robot's configuration. All other options will be the same as specified for the robot.