Skip to main content
Browser

Insert text

Insert text

Types text into an input field on a web page, simulating a real user at the keyboard, character by character.

tip

To fill in form fields identified by a placeholder or a label, use Fill in an element — it needs no CSS selector.


Options

Select the action

The action's mode.

An element in the browser

Types the text into a field using a CSS selector.

Browser or page ID

The browser, tab or iframe opening action used as the context.

Element selector

The CSS selector identifying the input field to type into, input#user for example.

An element already selected

Types the text into a field captured earlier by a Get element action.

Element ID

The action that captured the input field.

Text

The content typed into the input field.

One item from a list of several elements

Types the text into a field from a list captured by a Get elements action.

Element list ID

The action that captured the list.

The list index

Which position in the list to type into. The index starts at 0.

Element state

The condition the field has to be in before typing: Visible, Invisible/hidden, Present in the DOM or Not present in the DOM. Default: Visible.

Delay in milliseconds

How long to wait between each character, to mimic human speed. Default: 1.

Clear the input before typing

With this on, whatever is in the field is erased before typing starts. Default: No.

Returns

This action has no returns.

Rules and conditions

  • Select the action has to be set before the other fields.
  • In By browser mode, Browser or page ID and Element selector are both required.
  • For fields that already hold content, turn Clear the input before typing on so the values do not run together.
  • If the element is not found within the timeout, the robot stops with an error.