Actions45
- Manager Actions
- Mouse Actions
- Keyboard Actions
- Browser Control Actions
- Element Actions
- Image Actions
- Others Actions
- Email Actions
- Developer Actions
- General Debug Actions
Manager → GPM_connect
AI-generatedSummary
Publish a JSON payload representing a manager action over MQTT to a specified topic and optionally wait for a response on a designated response topic.
Inputs
- Topic (required) — The MQTT topic to publish the JSON payload to.
- QoS — Quality of Service level for MQTT message delivery (0, 1, or 2). Defaults to 1.
- Include Input Items — Whether to include selected fields from input items as part of the payload under 'inputItems'.
- Fields From Input Items — Comma-separated fields to include from input JSON data into the payload if Include Input Items is enabled.
- Wait For Response — Flag to wait for a reply message from the response topic before returning output.
- Response Topic — MQTT topic on which to listen for the response message if Wait For Response is enabled. Defaults to 'RES_
'. - Response Timeout (ms) — Maximum milliseconds to wait for the response message if waiting for a reply. Defaults to 10000ms.
- Parse Response As JSON — Whether to parse the received response payload as JSON (if possible). Defaults to true.
- Host — Host address of the remote server used for the CDP/GPM connection.
- Remote Port — Remote port number for the CDP connection to the GPM browser.
- DEBUG — Enable debugging logs and visual overlays for the connection.
- Headless — Run the browser in headless mode if true.
- Virtual Mouse — Enable virtual mouse overlay for visual debugging if true.
- Locate [x, y] — Optional x and y coordinates for the browser window's position.
- Zoom (%) — Page zoom percentage applied after connection.
- Context Index — Target browser context index if multiple contexts are available.
- Page Index — Target page/tab index inside the selected context.
- Create New Page — Create a new tab if the selected context has no pages.
- Stealth Level — Level of stealth mode to apply to the browser (off, minimal, full).
Output shape
a list of items mirroring input items with added mqtt details; each item includes mqtt topic, action info, input payloads, and optionally the response data if waiting for response
If 'Wait For Response' is enabled, the node outputs once the response is received or times out. The response is included in the 'mqtt.response' object with original topic, raw message, and optionally parsed JSON payload.
Examples
Example 1: Publish a manager action to the topic 'playwright/connect' with default QoS and no response wait.
Topic='playwright/connect', QoS=1, Wait For Response=false, specify connection params (host, port, headless, etc.)
Example 2: Publish and wait for a response on a response topic with timeout and JSON parsing.
Topic='mytopic', Wait For Response=true, Response Topic='RES_mytopic', Response Timeout=5000ms, Parse Response As JSON=true