Skip to main content

Click

The Click node simulates a mouse click, supporting single-click and double-click.

Overview

Based on native browser event simulation, fires only on the first matching element. Prefers calling the element's element.click() native method (the most reliable path); if unavailable, manually constructs a full event chain: focuspointerdown/mousedownpointerup/mouseuptouchendclick.

Click

Quick Start

The following example demonstrates a complete workflow triggered via Context Menu:

  • Trigger: Context Menu — right-click on a matching page to start the workflow
  • Action: Click — click the #prepare-click button on the page
  • Execution Page: https://jtcrpa.com/test/index.html
Click Example

When the workflow runs, first right-click on the matching page and select the menu item to start, then the Click node triggers a click on the target button #prepare-click.

tip

If the click action opens a new page (e.g., a link with target="_blank" or window.open()), enable the "Open New Tab" toggle; otherwise, the new page may be blocked by the browser.

Parameter Reference

ParameterTypeDefaultDescription
Label NameTextNode name, required. Must follow variable naming conventions
Target ElementTextCSS selector, required
Click TypeDropdownSingle-clickclick — single-click; dbclick — double-click
Modifier KeysMulti-selectTrigger condition: hold modifier keys while clicking. Options: Ctrl, Shift, Alt, Meta (Command/Win). Can select multiple
Open New TabTogglefalseWhether to trigger the click in a new tab
Switch to New PageTogglefalseWhether to switch to the new tab for subsequent actions

FAQ

Page doesn't respond after clicking

Symptom: Execution log shows the click succeeded, but the page shows no change.

Cause: The selector hit the wrong element; or the page uses event delegation with listeners bound to parent elements.

Solution: Run document.querySelector('your selector').click() in the DevTools Console to verify. If manual clicking works but the node doesn't, try adding a Wait Element node before the click.