browser_type
Type text into specified web elements during automated browser testing using Playwright. Supports submitting text and simulating character-by-character input for triggering key handlers.
Instructions
Type text into editable element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
element | Yes | Human-readable element description used to obtain permission to interact with the element | |
ref | Yes | Exact target element reference from the page snapshot | |
slowly | No | Whether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once. | |
submit | No | Whether to submit entered text (press Enter after) | |
text | Yes | Text to type into the element |