Actions45
- Manager Actions
- Mouse Actions
- Keyboard Actions
- Browser Control Actions
- Element Actions
- Image Actions
- Others Actions
- Email Actions
- Developer Actions
- General Debug Actions
Manager → Local_browser_connect
AI-generatedSummary
Connect to a local browser using Playwright via MQTT by publishing a message with specified connection parameters such as browser type, proxy, profile, debug mode, headless mode, virtual mouse, window location, and zoom level.
Inputs
- Topic (required) — MQTT topic used to publish the connection request message.
- QoS — Quality of Service level for MQTT message delivery (0, 1, or 2).
- Include Input Items — If true, includes selected input fields from incoming items in the payload's inputItems field.
- Include Input Items Fields — Comma-separated field paths from previous input items to include in payload.inputItems when Include Input Items is true.
- Wait For Response — If true, waits for a MQTT response message on a specified response topic and returns it as node output.
- Response Topic (required) — MQTT topic to listen for the response message if Wait For Response is enabled; defaults to RES_
. - Response Timeout (ms) — Maximum time to wait for a response message in milliseconds when Wait For Response is enabled.
- Parse Response As JSON — Parses the response payload as JSON if true when Wait For Response is enabled.
- Browser Type — Local browser type to connect (Chrome, Firefox, Webkit).
- Proxy — Proxy server URL used to launch the local browser.
- Profile — Path to local user profile for a persistent browser session.
- DEBUG — Enables debug logging and visual aids in the browser session.
- Headless — Runs the browser in headless mode if true.
- Virtual Mouse — Shows a virtual mouse cursor overlay for visual debugging.
- Locate [x, y] — Optional window position coordinates (x, y) for the browser window.
- Zoom (%) — Percentage to zoom the page after connecting to the browser.
Output shape
a list of items with MQTT topic, action details, inputs sent, and optionally the response data if waiting for a response
If Wait For Response is enabled, the node subscribes to the response topic and includes the response data in the node output. Otherwise, it only publishes the connection request message to the specified topic and returns immediately. Errors during MQTT connection or response timeout are handled according to node configuration for failure continuation.
Examples
Example 1: Connect locally to a Chrome browser without proxy or profile and do not wait for a response.
Set Topic to a specific MQTT topic, Browser Type to 'Chrome', set Headless to false, and Wait For Response to false.
Example 2: Connect locally to a Firefox browser through a proxy and wait for a response on a custom topic.
Set Topic to the connection request topic, Browser Type to 'Firefox', Proxy to a proxy URL (e.g. 'http://127.0.0.1:8080'), enable Wait For Response, and specify Response Topic.