Set Web Radio Button | Leapwork Docs

Set Web Radio Button

The Set Web Radio Button building block sets a radio button in an already open browser window during web automation. It works by locating the target radio button element and then selecting the desired option based on value, text, or index.

This block only works with browser windows opened using Start Web Browser.

Fully expanded, the Set Web Radio Button 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 Radio Button onto the canvas.
  2. Connect the block in the flow and specify Select Web Radio Element (required), then choose Action and provide Value (as required by the selected action). Optionally set Source element, Browser window, and Use occurred if needed.
  3. Run the flow when it’s ready.

Building block parameters

Parameter Description
Block header The green input connector triggers the block to start executing. The green output connector triggers when the radio button has been set. You can rename the block by double-clicking the header text and typing a new title.
Select Web Radio Element Required. Contains the locator for the radio button element to set. Capture a locator by right-clicking the property and selecting Capture new web element. Once set, you can edit it via Edit web element, or clear it via Clear web element.
Action Chooses how the radio button option is selected:

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.