Select an option in a native dropdown

Pick an option in a native select element, by visible text, by position, or by attribute. Legacy step, prefer Click on modern dropdowns.

Deprecated. This step no longer appears in the step palette. Existing tests that use it keep running. For new tests, use Click to open the dropdown and click the option, which also works for custom (non-native) dropdowns.

Pick an option in a native <select> element, by visible text, by position, or by attribute.

Parameters

ParameterRequiredDescription
Target elementYes, unless a manual selector is setNatural-language description of the select element.
Manual selectorNoXPath or CSS selector, used when AI is disabled or as the saved selector.
Select option byYesvisible_text (default), index, or attribute.
ValueWhen by is visible_textThe option's visible text.
IndexWhen by is indexThe option's position, starting at 0.
Attribute name and valueWhen by is attributeThe HTML attribute to match, for example value = FR.
AI usageNoinherit (default, follows the test strategy), smart, or always.
Ignore error on this stepNoThe run continues with the next step if this one fails. Default: off.

Results and metrics

  • Timing: start, end, and duration (in seconds) recorded in the step result.
  • Status: failed if the element or the requested option cannot be found.
  • Screenshot: captured after the selection.

What's next?

Click

The current way to pick dropdown options

Fill input

Type into searchable dropdowns

Last updated on