Browser action

Click Element Block

Click Element finds an element with a CSS selector and clicks it. It can wait for the element first and supports left, right, and double clicks.

At a glance

Best for
Buttons and links
Required setting
CSS selector
Variables
Selector accepts {{variableName}}
Error handle
Yes

What it does

Click Element performs a browser click on the current page. Use it after a page is open and the target element is available.

The Block can wait for the selector before clicking, which helps with pages that render content after navigation.

Use it when

  • Click a button that reveals more content.
  • Follow a link without hardcoding the next URL.
  • Open a menu, modal, or tab in the current page.

Do not use it when

  • You only need to open a known URL; use Go To URL.
  • You need to type into an input; use Fill Input.
  • The target element is optional and should not fail the main path.

Settings

Click Element needs a CSS selector for the target. The selector can include variables, and the Block can wait before clicking.

CSS selector

Required: Yes
Variables
Yes
Description
Selector for the element to click on the current page.

Click type

Required: No
Variables
No
Description
Choose left click, right click, or double click. The default is left click.

Wait for element

Required: No
Variables
No
Description
When enabled, Scrapeer waits for the element before clicking.

Timeout

Required: No
Variables
No
Description
Maximum wait time when Wait for element is enabled. The schema default is 5000ms.

Outputs

Click Element does not create a reusable variable. Its run output records what was clicked.

selectorstring

The selector used for the click.

clickTypestring

The click type used by the runtime.

Example Flow

Click Element usually sits between navigation and extraction when the page needs one interaction before the data is visible.

  1. Open the page with Go To URL.
  2. Click the button or link that reveals the next state.
  3. Wait for or extract the content that appears after the click.

Errors and fixes

Start with symptoms visible in the editor or Inspector, then check the earliest Block that produced the wrong page state, variable, or output.

The click fails because the element is missing.

Check
Inspect the selector and confirm the element exists in the current page state.
Fix
Update the selector or add a Wait For Element Block before clicking.

The click happens but nothing changes.

Check
Check whether the page needs a different click type or a different element.
Fix
Use the correct target selector and choose left, right, or double click as needed.

Local and cloud runs

Local and cloud runtimes both wait for the selector when that option is enabled and then perform the configured click type.

Cloud runs can apply browser humanization checks around the click when Cloud Run settings require it.