Playwright Remote icon

Playwright Remote

Automate browser actions on a remote Playwright server. Navigate to URLs, take screenshots, extract text, click elements, fill forms, or run custom Playwright scripts via WebSocket connection.

Click Element

AI-generated

Summary

Click on a web page element identified by a CSS selector or XPath expression on the given URL using a remote Playwright browser session.

Inputs

  • URL (required) — The URL to navigate to before clicking the element.
  • Selector Type (required) — Choose whether to identify the element by CSS selector or XPath expression.
  • CSS Selector — The CSS selector for the element to click (required if Selector Type is CSS).
  • XPath — The XPath expression for the element to click (required if Selector Type is XPath).

Output shape

A single JSON object indicating success, including which selector was used and the selector string.

Outputs one item per input with JSON { success: true, selectorType, selector }. If an error occurs and "Continue on Fail" is enabled, returns an error message in the JSON output.

Links

Discussion