Type Text
Types text into a web element with optional human-like typing simulation. Ideal for filling form fields, search boxes, and text inputs.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing the node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
If Continue On Error property is true, no error is caught when the project is executed, even if the Catch node is used.
Input
- Browser ID - The browser session identifier from the Open Browser node.
- Selector - The XPath or CSS selector to locate the input element.
- Text - The text content to type into the element.
Options
-
Selector Type - Type of selector used:
- XPath - Use XPath expression (default)
- CSS - Use CSS selector
-
Wait Timeout (sec) - Maximum time to wait for the element to appear. Default is 5 seconds.
-
Press Enter - Press the Enter key after typing the text. Useful for search boxes and forms. Default is false.
-
Clear Before Typing - Clear existing text in the field before typing new text. Default is false.
-
Simulate Human Typing - Type with random delays to mimic human behavior and avoid bot detection. Default is false.
-
Keys Per Minute - Typing speed when Simulate Human Typing is enabled. Default is 300 keys per minute.
Examples
Type into Search Box
Browser ID: {{browser_id}}
Selector: //input[@name='q']
Text: web automation tutorial
Press Enter: true
Fill Form Field
Browser ID: {{browser_id}}
Selector: input#email
Selector Type: CSS
Text: user@example.com
Clear Before Typing: true
Human-Like Typing for Bot Detection
Browser ID: {{browser_id}}
Selector: //input[@id='username']
Text: myusername
Simulate Human Typing: true
Keys Per Minute: 250
Type Password
Browser ID: {{browser_id}}
Selector: //input[@type='password']
Text: {{vault.password}}
Clear Before Typing: true
Type with Enter Key
Browser ID: {{browser_id}}
Selector: //textarea[@name='message']
Text: Hello, this is my message
Press Enter: true
Tips
- Use Clear Before Typing to ensure no leftover text from previous runs
- Enable Press Enter for search boxes to submit the query
- Use Simulate Human Typing when websites detect automated behavior
- Adjust Keys Per Minute to control typing speed (slower is more human-like)
- Store sensitive data like passwords in the Vault and reference them with variables
- For multi-line text, use
\nfor line breaks in the text
Common Errors
- "Browser ID cannot be empty" - Connect to an Open Browser node
- "Selector cannot be empty" - Provide an XPath or CSS selector
- "Text cannot be empty" - Provide text to type (use empty string "" if needed)
- "Element not found within X seconds" - The element doesn't exist or takes longer to load. Verify selector and increase timeout
- "Timeout cannot be empty" - Provide a timeout value
Related Nodes
- Click Element - Click buttons and links
- Send Keys - Send keyboard shortcuts and special keys
- Set Value - Set input value directly via JavaScript
- Get Value - Retrieve text from input fields
- Clear - Clear input field content