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 → type
AI-generatedSummary
Publishes an MQTT request that tells the routed client session to enter text into the focused input or, when supplied, an element located by XPath. Choose between simulated keystrokes and clipboard paste, and optionally set typing speed, typing error probability, and click positioning.
Inputs
- Topic (required) — MQTT topic to publish the request to.
- QoS — MQTT delivery level: 0, 1, or 2; defaults to 1.
- Include Input Items — When enabled, adds selected fields from the incoming items to payload.inputItems.
- Include Input Fields — Comma-separated field paths to include when Include Input Items is enabled; supports nested paths and array indexes.
- Wait For Response — Whether to wait for the MQTT response before returning output; defaults to false.
- Response Timeout (sec) — Maximum wait for a response when waiting is enabled; defaults to 60 seconds.
- Delay Next Step (ms) — Delay after publishing, or after receiving the response if waiting is enabled; defaults to a random 200–1000 ms delay.
- Remote Port (required) — CDP port used to route the command to the intended worker session; typically mapped from the profile-opening node, with 127001 indicating a local session.
- Text — Text to enter. May be left empty.
- Just Paste Text (Not Type) — When true, pastes the text from the clipboard in one action; when false, simulates typing individual keys. Defaults to false.
- XPath — Optional XPath for the target element; omit to use the currently focused input.
- WPM — Optional typing speed in words per minute; if omitted, the client uses a random natural speed.
- Error Probability — Optional probability from 0 to 1 of a typing mistake followed by correction.
- Central Click — Controls whether interaction targets the element center or a random safe point within it; defaults to false.
Output shape
MQTT response output when waiting is enabled; otherwise the operation proceeds after publishing, subject to the configured delay.
The operation can attach selected incoming fields as payload.inputItems. A response timeout applies only when Wait For Response is enabled.
Examples
Example 1: Type into the focused input
Set Text to the desired value and leave XPath empty to type into the currently focused input.
Example 2: Paste long or Vietnamese text
Set Text and enable Just Paste Text to enter it using the clipboard in one action.
Example 3: Type into an XPath-selected element
Set XPath to locate the target element, and optionally provide WPM and Error Probability to tune simulated typing.
