Actions45
- Manager Actions
- Mouse Actions
- Keyboard Actions
- Browser Control Actions
- Element Actions
- Image Actions
- Others Actions
- Email Actions
- Developer Actions
- General Debug Actions
Manager → quit
AI-generatedSummary
Publish a 'quit' command to an MQTT topic to instruct a browser manager to close its session, optionally closing external attached pages before quitting.
Inputs
- Topic (required) — The MQTT topic to publish the quit command to.
- QoS — The MQTT quality of service level for the message (0, 1, or 2). Defaults to 1.
- Include Input Items — Include selected fields from the input items in the MQTT payload.
- Include Input Items Fields — Comma-separated list of input fields to include in the payload's inputItems if Include Input Items is true.
- Wait For Response — If true, wait for a reply on a specified response topic before returning output.
- Response Topic (required) — The MQTT topic to listen on for a response message if Wait For Response is enabled. Defaults to 'RES_' plus the Topic.
- Response Timeout (ms) — Maximum time in milliseconds to wait for a response message before timing out. Defaults to 10000 ms.
- Parse Response As JSON — Whether to parse the response payload as JSON if possible. Defaults to true.
- Close External Pages — Indicates whether to close any pages attached to external browsers before quitting. Defaults to false.
Output shape
a list of items with an 'mqtt' property containing the topic, action, payload inputs, and optionally a response if waited for
If Wait For Response is enabled, output includes the received response message data; otherwise, output reflects the published quit command. Errors during publish or response timeout will trigger node errors unless Continue On Fail is enabled.
Examples
Example 1: Publish a quit command on topic 'playwright/manager' to close the browser manager without closing external pages, not waiting for response.
Set Topic to 'playwright/manager', QoS to 1, Close External Pages to false, Wait For Response to false.
Example 2: Publish a quit command with response waited on topic 'playwright/manager', closing external pages before quitting.
Set Topic to 'playwright/manager', Wait For Response enabled with Response Topic 'RES_playwright/manager', Close External Pages true.