Actions15
- Session Actions
- Page Actions
- Script Actions
Page → Click
AI-generatedSummary
Click an element on the page using a CSS or XPath selector.
Inputs
- sessionId (required) — Identifier of the browser session to use.
- selector (required) — CSS or XPath selector targeting the element to click.
- screenshotOnFail — Whether to capture and attach a screenshot if the click fails and attach it to the error.
Output shape
object
The JSON result from the underlying
page.click()action: { success: true, action: 'click', selector }.