Back to docs

Tool Type Text

Category: Browser Automation · Tier: Free

Type text character by character using keyboard events. Unlike fill, this fires keydown/keypress/keyup for each character. Use for inputs that need real keyboard events (autocomplete, search-as-you-type, games).

Parameters

Parameter Type Required Default Description
text string Yes Text to type
delay number No 50 Delay between keystrokes in ms
_browserToken string No Browser session token

When to Use type_text vs fill

  • fill -- Sets the value instantly. Fast. Works for most forms. No per-keystroke events.
  • type_text -- Types character by character. Fires all keyboard events. Required for autocomplete, search suggestions, live validation, games.

Example

Type "react hooks" into the search bar to trigger autocomplete suggestions

Related

From the Blog