Skip to main content
All CollectionsUnderstand the CommandsWebpage Automation
[Command] Set dropdown options on web page
[Command] Set dropdown options on web page
Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

The Set dropdown options on web page command is used to instruct the workflow to select a specific option from a dropdown menu.


Parameters Values

Set parameters

Parameter

Definition

Web page

Select a target web page. There are 2 commands that can be used to generate a web page variable:

  • Go to web page

  • Find web page

Element

Select the dropdown element by capturing a new element or selecting from a previously saved element

Select by

Choose a way to select the option from a dropdown menu

  • Text

  • Index(position)

Option text

Enter the text that can be matched with contain, equal, or regex to select the target option

Match by

Choose a way to match the option text

  • Text contains

  • Text equals

  • Regex match

Advanced settings

Parameter

Definition

Wait after execution

Wait for a certain period of time (seconds) after the command completes execution

Wait for element

Wait for a certain period of time (seconds) until the element(textbox) appears

Error handling

Parameter

Definition

When error occurs

Select the action to be performed when an error occurs:

  • Terminate the project

  • Ignore the error and execute the next command

  • Retry action


Example

The workflow above will go to the website MyCarInfo on the built-in browser, save the webpage as a variable named "Car_infor_page", and select 1996 from the dropdown element named "Year dropdown" on the webpage named "Car_info_page" by entering the text "96" and matching it by Text contains. Once you click run, it'll give you the result as shown below.

Did this answer your question?