Actions57
- 1. Manager Actions
- 2. Mouse Actions
- 3. Keyboard Actions
- 4. Browser Control Actions
- 5. Element Actions
- 6. Image Actions
- 7. Others Actions
- 8. Email Actions
- 9. Developer Actions
- 10. General Debug Actions
3. Keyboard → press_key
AI-generatedSummary
Publishes an MQTT request that tells the worker routed by Remote Port to press, hold, or release one key. You can repeat the action with a count and set the delay between repetitions; optionally wait for a response and attach selected fields from incoming items.
Inputs
- Topic (required) — MQTT topic used to route the request.
- QoS — MQTT delivery level: 0, 1, or 2; defaults to 1.
- Include Input Items — When enabled, includes incoming item data in the request payload; defaults to false.
- Include Input Fields — When input items are included, selects fields to copy, including nested paths such as status.detail.
- Wait For Response — Whether to wait for an MQTT response before returning; defaults to false.
- Response Timeout (sec) — Maximum response wait time when waiting is enabled; defaults to 60 seconds.
- Delay Next Step (ms) — Delay before the node continues after publishing, or after receiving a response if waiting is enabled; defaults to rand(200,1000).
- Remote Port (required) — CDP port used to route the action to the target browser session. Defaults to the incoming remote_port value.
- Key (required) — Name of the key to act on, such as Enter, Tab, or Escape; defaults to Enter.
- Key Type — Action to perform: press (press and release), down (hold), or up (release); defaults to press.
- Press Count — Number of repetitions; defaults to 1.
- Delay Between Presses (ms) — Delay between repetitions in milliseconds; defaults to 500.
Output shape
A single result per incoming item when execution returns; may include the MQTT response and optionally selected input fields.
Waiting for a response is optional and has a configurable timeout. The source pack is a signature-level view and does not expose the runtime payload or exact response fields.
