set web dropdown.md

Set Web Dropdown

The Set Web Dropdown block sets an HTML dropdown in an already open browser window to a specific index or value. It works only with browser windows that were previously opened using the Start Web Browser block or with their child windows. This block is typically used when you need to choose a particular option in a dropdown as part of a web automation flow.

See the Dropdowns video in the Learning Center for an example of how it can be used.

Fully expanded, the Set Web Dropdown block shows the following properties:

Note: The screenshot on this page uses the Elegance Design , introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Set Web Dropdown onto the canvas.
  2. Specify the basic parameters required for this block to operate: Select Dropdown element.
  3. If necessary, specify the basic parameters required for this block to operate: Action, Filter, Value.
  4. Run the flow when it's ready.

Building block parameters

Parameters

Once a locator has been captured, you can modify it by right-clicking and selecting Edit web element, or clear it completely by choosing Clear web element.

This timeout is specific to this block. Note that every case also has a separate global timeout configured in the Settings panel; if the entire case runs longer than that global timeout, the case is cancelled regardless of the block's own timeout value.

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.
Strategy Editor Guidelines for understanding and using the Strategy Editor in Leapwork to define, refine, and validate robust locator strategies for UI elements using DOM structure, tokens, and wildcards.