Spotted something off?Report on Discord
guides
Type Actions
Type text into a selected input field on a webpage using the type browser action.
Updated May 28, 2025
Use this action to type a specific text into a selected input field on a webpage.
Command
"type"
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cssSelector |
string | Yes | CSS selector of the input field where text should be typed. |
text |
string | Yes | The string to be typed. |
wait |
number | No | Wait for X seconds after typing the text. |
when |
string | No | Lifecycle phase to run the action: beforelaunch, beforeload, afterload, or after_captcha. Default is afterload. |
ignoreErrors |
boolean | No | Set to true to continue even if an error occurs. |
Example
bash13 lines
Related concepts
Go deeper in the Scrappey knowledge base:
- Playwright β the automation engine behind browser actions
- Dynamic content scraping β working with interactive pages