GREAT LOTUS icon

GREAT LOTUS

10 action groups: ManagerAction, MouseAction, KeyboardAction, BrowserControl, ElementAction, ImageAction, OthersAction, EmailAction, DeveloperAction, General Debug

2. Mouse → click

AI-generated

Summary

Publishes an MQTT request to make a Playwright session click a page element or screen coordinate. Configure a selector or XPath, or provide both X and Y coordinates; optionally choose the mouse button, click count, interval, and click location within the element.

Inputs

  • Topic (required) — MQTT topic used to publish the request.
  • Remote Port (required) — CDP port used to route the request to the intended browser session; defaults to the incoming item's remote_debugging_port.
  • QoS — MQTT delivery quality level: 0, 1, or 2; defaults to 1.
  • Include Input Items — Optionally attach selected fields from incoming items to payload.inputItems. Defaults to false.
  • Wait For Response — Whether to wait for an MQTT response before returning; defaults to false. When enabled, Response Timeout sets the maximum wait in seconds (default 60).
  • Delay Next Step (ms) — Delay before the node advances. Defaults to rand(200,1000); runs after the response when waiting is enabled, or after publishing otherwise.
  • Target — Element selector, such as css=button.submit or id=btnClick.
  • XPath — XPath for locating the element, such as //button[@id="submit"].
  • X and Y — Screen coordinates for the click. Supply both coordinates to click at a point.
  • Button — Mouse button: left (default), middle, or right.
  • Clicks — Number of consecutive clicks; defaults to 1.
  • Delay Between Clicks (ms) — Optional delay between consecutive clicks.
  • Central Click — When enabled, clicks the element center; otherwise, clicks at a random point inside its safe area. Defaults to false.

Output shape

An MQTT response item when waiting for a response; otherwise the node publishes the request and proceeds without waiting for a response body.

The request carries the click inputs and can include selected incoming fields under payload.inputItems. A configured delay runs before the node advances. The UI says Playwright waits for the element to be ready and scrolls it into view before clicking.

Links

Discussion