Type Into Web Element Step

The Type Into Web Element step puts text into a specific field on a web page. Use this step to automatically fill out web forms or search bars.

How to Use Type Into Web Element

This step types text into a web element.

Step 1: Add the Step to Your Process

  1. Drag and drop the "Type Into Web Element" step into your process flow.
  2. Give the step a custom name in the Step Name field (optional). This helps label the step in the editor.

Step 2: Set Up Input Parameters

Set up these parameters to tell the step where to type and what text to use.

Parameters Explained

Step Name (Optional)

  • A custom name for the process step. This name shows up in the editor.

Selector Type (Required)

  • Tells the system how to find the web element.
  • Options: Class Name, CSS Selector, Name, Id, Link Text, Partial Link Text, Tag Name, XPath.
  • Example: If you want to type into a field with id="username", pick "Id".

Selector Value (Required)

  • The specific value for the selector type you chose.
  • You can use an existing variable or type a direct value.
  • Example: If you picked "Id" for Selector Type, the Selector Value would be username.

Select variable (Optional)

  • A button to pick an existing variable from a list.

Text to input (Required)

  • The text you want to type into the web element.
  • You can use variables here.
  • Example: John Doe or {{userNameVariable}}

Driver Reference (Required)

  • The existing variable that holds the reference to your web browser.

Wait for Element until timeout [ms] (Required)

  • The longest time (in milliseconds) the robot will wait for the web element to show up before stopping.
  • Example: 5000 (for 5 seconds)

Clear Before Input (Required)

  • Decides if the text already in the web element is erased before new text is typed.
  • T: Erases existing text.
  • F: Keeps existing text (this is the default).

Related Articles

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.

 

Was this article helpful?