Actions12
Browser → Type
AI-generatedSummary
Type text into a specified element identified by a CSS selector on a webpage using either a newly launched browser or an existing browser connection via CDP.
Inputs
- Connection Mode — Choose whether to launch a new browser or connect over Chrome DevTools Protocol (CDP).
- Browser Type — Select the browser engine (Chromium, Firefox, WebKit) to launch; applicable only when launching a new browser.
- Headless — Run the browser without a visible window; applicable only when launching a new browser.
- CDP Endpoint — The Chrome DevTools Protocol URL to connect to an existing Chromium browser; required if connection mode is CDP.
- Timeout (MS) — Maximum time in milliseconds to wait for browser actions to complete.
- Session ID — Identifier for reusing the same browser session across nodes to maintain page state.
- Use Existing Tab — When connecting over CDP, reuse an existing browser tab instead of opening a new one.
- Tab Index — Zero-based index of the tab to reuse when 'Use Existing Tab' is enabled.
- Block Resource Types — Resource types such as images or scripts to block when creating a new page to reduce bandwidth.
- Block URL Patterns — Comma-separated glob patterns for URLs to block when creating a new page.
- Additional Data — Optional JSON data to include in the output for contextual use.
- Target URL — URL to open before typing, unless the operation is 'navigate' or 'runScript'.
- Selector (required) — CSS selector to identify the target element where text will be typed.
- Text (required) — The text string to type into the selected element.
- After Execution — Defines whether to close the browser, close the page, or leave the session open after typing.
Output shape
a single item per input with JSON output
Each output item includes success status, selector used, typed text length, session details (session ID, connection mode, tab index), current URL, timestamp, and optionally additional user-provided data and CDP endpoint. Errors are returned in the output JSON if action fails and 'continueOnFail' is enabled.
Examples
Example 1: Typing text into an input field on a web page
Configure 'Connection Mode' to launch or connect, specify 'Selector' as the input field's CSS selector, and provide the 'Text' to type. Optionally open a 'Target URL' beforehand. Choose 'After Execution' behavior to keep the browser open for further operations or close it.