Input into Web Element
Command description
Enter text in a specified web input element. The command scrolls the element into view if necessary. Human-like Input and Clipboard Input activate the webpage; silent methods can run in the background.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Webpage Object | WebPage | Webpage containing the input element |
| Web Input Element | WebElement or str (captured element UID, not element name, not ms-rpa-id) | Select a captured element or one returned by Get Web Element, Get Similar Web Elements, or Get Related Web Elements |
| Input Content | str | Text to enter |
| Append Input | bool | Whether to append the text instead of replacing existing content |
| Tab Key | bool | Whether to press Tab after entering the text; default: False |
| Enter Key | bool | Whether to press Enter after entering the text; default: False |
| Input Method | enum | Human-like Input, Clipboard Input, Silent Input, CDP Silent Input |
| Click Element Before Input | bool | Whether to click the element before entering text |
| Post-Click Delay | number | Time to wait between clicking the element and entering text, in seconds |
| English Keyboard Layout | bool | Whether to force the US English keyboard layout when input-method switching produces incorrect text |
| Element Wait Duration | number | Maximum time to wait for the element to appear, in seconds. The command reports an error if the element does not appear in time |
| Post-Input Delay | number | Time to wait after entering the text, in seconds |
Command Output Parameters
None
Type definition reference
Comparison of input methods
| Input method | How it works | Uses the mouse | Similarity to human input | Input speed | Input accuracy | Advantages | Disadvantages |
|---|---|---|---|---|---|---|---|
| Human-like Input | Brings the browser forward, locates and clicks the element, then sends input through the Windows API | Yes | Closest to physical keyboard input and broadly compatible | Takes control of the mouse and foreground window. The browser must be visible and unobstructed. Enable English Keyboard Layout if input-method switching produces incorrect text | |||
| Clipboard Input | Brings the browser forward, locates and clicks the element, then pastes with Ctrl+V | Yes | Broadly compatible and close to normal user input | Takes control of the mouse, foreground window, and clipboard. The browser must be visible and unobstructed | |||
| Silent Input | Sets the value through webpage JavaScript | No | Fast, accurate, and fully background-capable | Some webpage elements do not respond because it differs from physical input | |||
| CDP Silent Input | Uses Chrome CDP to locate and click the element, then sends text through CDP | No | Fast, close to physical input, and background-capable even when the window is off-screen or covered by another window | The target element cannot be covered by another webpage element |
tip
- Install the Runavelo browser extension before using this command.
- CDP Silent Input requires Runavelo 7.7.0 or later and browser extension 2.4.0 or later.
- See Capture Web Elements .