Skip to main content

Fill Text Field in Window

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

Fill a text field in a window with the specified text. This command allows you to input text into form fields, search boxes, or any other text input elements in desktop applications or web browsers.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Element

Select or capture an element to operate on

N/A

Yes

Use the Capture button to select the target text field

Input type

Select text type

Text, Password

Yes

Choose "Password" for masked input fields

Input content

Enter the text to fill

N/A

Yes

The content to be entered in the text field

Append to existing content

When checked, new input appends to existing content; when unchecked, it overwrites existing content

N/A

No

Default: unchecked (overwrites existing text)

Press Enter after input

Simulate pressing Enter after input

N/A

No

Useful for form submissions or search queries

Press Tab after input

Simulate pressing Tab after input

N/A

No

Helps navigate to the next field after input

Advanced settings

Parameter

Description

Possible Values

Required

Options / Notes

Input type

Trigger input events by simulating user behavior or via API calls

Simulate human input, Input via API calls

Yes

"Simulate human input" mimics actual typing; "Input via API calls" is faster but may not trigger all events

Include Shortcuts

You can include Shortcuts in your input, e.g. {enter} which means pressing the Enter key

N/A

No

Allows special key combinations within text input

Click before input

Click the textbox before entering text

N/A

No

Ensures the field is focused before typing begins

Input Interval (ms)

Enter the interval time between each character, in milliseconds

0-1000

No

Default: 20ms; increase if experiencing input errors

Focus timeout (ms)

Wait time in milliseconds after focusing on the element

N/A

No

Default: 1000ms; allows the element to fully focus before typing

Wait after execution (s)

Wait for a specified number of seconds after the action is executed

N/A

No

Default: 1s; useful when subsequent actions depend on this input

Element timeout (s)

Wait time for element to appear (seconds)

N/A

No

Default: 20s; maximum time to wait for the element to become available

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

You can use variables in the "Input content" field by clicking the {x} button or typing the variable name enclosed in curly braces. This allows you to dynamically populate the text field with values obtained from previous steps in your workflow.


Notes

  • For sensitive information like passwords, use the "Password" input type to ensure proper handling.

  • If text input fails, try increasing the "Input Interval" value in advanced settings.

  • The "Simulate human input" option more closely resembles actual user typing and is recommended for applications that monitor input methods.

  • When working with web applications, ensure the element is fully loaded before attempting to fill it.

  • Some applications may require specific focus methods; if standard input fails, experiment with the "Click before input" option.

Did this answer your question?