GREAT LOTUS icon

GREAT LOTUS

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

7. Others → accept_alert

AI-generated

Summary

Accepts the browser’s active alert, confirm, or prompt dialog by clicking OK; for a prompt, it can supply text. Publishes the action as an MQTT request routed to the selected browser session.

Inputs

  • topic (required) — MQTT topic to publish the request to.
  • Remote Port (required) — CDP remote debugging port used to route the request to the correct browser session; can be mapped from the previous node’s remote_debugging_port output.
  • QoS — MQTT delivery quality level; defaults to 1 (at least once).
  • Include Input Items — When enabled, includes selected fields from the incoming items in payload.inputItems.
  • Input fields — Comma-separated field paths to include when Include Input Items is enabled; supports nested paths and array indexes.
  • Wait For Response — When enabled, waits for the MQTT response before returning output; otherwise publishes without waiting.
  • Response Timeout (sec) — Maximum wait for a response when Wait For Response is enabled; defaults to 60 seconds.
  • Delay Next Step (ms) — Delay before continuing after publishing, or after receiving the response if waiting is enabled. Defaults to rand(200,1000).
  • Prompt Text — Text to enter into a prompt dialog before accepting it; defaults to empty.
  • Show (sec) — Optional display duration setting for the action, in seconds; defaults to 0.

Output shape

A single result item per processed input item.

Can include input fields when requested. If Wait For Response is enabled, returns the received MQTT response; otherwise the node publishes the request and returns without waiting for that response.

Links

Discussion