Actions14
Click
AI-generatedSummary
Send a click action to a specified element in a browser tab via PinchTab, targeting by element reference or CSS selector, optionally specifying the tab ID.
Inputs
- Tab ID — ID of the browser tab to target; leave empty to use the active tab.
- Element Ref or CSS Selector (required) — Element reference from a snapshot (e.g., e5) or a CSS selector string to identify the element to be clicked.
Output shape
a single item containing JSON with the response from the PinchTab action endpoint
If Tab ID is provided, the click action is sent to that tab; otherwise, it targets the active tab. The element to click can be specified either by PinchTab element reference (e.g., 'e5') or a standard CSS selector. The response JSON structure depends on the PinchTab API but will indicate success or details of the click action.
Examples
Example 1: Click an element by CSS selector on the active tab
Leave Tab ID empty. Set Element Ref or CSS Selector to a valid CSS selector string like '#submitBtn'. The node will perform a click on the matched element in the active tab.
Example 2: Click an element by element reference in a specific tab
Provide the Tab ID to target a specific tab, and set Element Ref or CSS Selector to an element reference like 'e5' obtained from a prior snapshot. The node sends a click command to that element on the specified tab.