Click Web Position | Leapwork Docs
The Click Web Position block is used to simulate a mouse click at a specific (X, Y) coordinate within the visible content area of a web browser. It is typically used for interacting with canvas-based elements, graphical controls, or layouts where traditional HTML element targeting is not practical.
Note: This block only works in browser windows launched using the Start Web Browser block. It is not compatible with Selenium Grid or cloud-based providers such as Sauce Labs and BrowserStack.
Fully expanded, the Close Web Browser 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
- Drag Click Web Position onto the canvas.
- Specify the Position on the canvas to click.
- Optionally adjust the Button (left/right, single/double click) and define a Browser window.
- Run the flow when it’s ready.
Building block parameters
Parameters
- Position: Defines the coordinate to click within the browser canvas. The point is specified in X and Y, relative to the top-left corner of the content area (0, 0).
You can expand the field to work with X and Y separately or connect this to upstream blocks that return position values.
⚠️ Important: Some browser controls, such as <input type="range">, may interpret the click as targeting the entire control rather than a specific point.
Button: Specifies which mouse button to use and the type of click to perform. By default, the block uses a single left-click. Depending on your needs, you may switch to right-click or configure it for double-click behavior.
Browser window: Indicates which browser instance should receive the click action. This field is useful when managing multiple browser sessions within the same flow. However, multi-window support is not available in all execution environments.
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. |