Actions46
- app.launch
- app.close
- app.list_running
- app.list_available
- playwright.connect
- playwright.disconnect
- playwright.goto
- playwright.go_back
- playwright.go_forward
- playwright.reload
- playwright.click
- playwright.fill
- playwright.type
- playwright.press_key
- playwright.hover
- playwright.select_option
- playwright.check
- playwright.uncheck
- playwright.scroll
- playwright.snapshot
- playwright.get_content
- playwright.get_text
- playwright.get_attribute
- playwright.get_url
- playwright.get_title
- playwright.locator_count
- playwright.get_all_text
- playwright.get_all_attributes
- playwright.evaluate
- playwright.wait_for_selector
- playwright.wait_for_load
- playwright.wait_for_timeout
- playwright.wait_for_url
- playwright.close
- screen.start_recording
- screen.stop_recording
- screen.screenshot
- screen.list_recordings
- screen.list_screenshots
- screen.download_recording
- screen.download_screenshot
- system.info
- system.stats
- system.wait
- system.os
- system.display
playwright.type
AI-generatedSummary
Types text into a selected element using Playwright via a remote desktop session.
Inputs
- mode — Execution mode: 'run' to perform the action immediately and return the result, or 'build' to add the action to a queue for later batch execution. Default: 'run'.
- sessionId (required) — The ID of the remote desktop session obtained from a Session node.
- selector — CSS selector of the element to type into.
- text — The text string to type into the selected element.
- delay — Delay in milliseconds between each keystroke. Default: 0.
- timeout — Maximum time in milliseconds to wait for the selector to become available. Default: 30000.
Output shape
conditional on mode
When mode is 'run', the node returns the JSON response from the POST /sessions/:sessionId/run endpoint (the result of the Playwright type action). When mode is 'build', the node returns an object containing the session ID, an updated queued_actions array (with the new action appended), and a queued_count reflecting the total number of queued actions.
Examples
Example 1: Immediate execution
mode: run, selector: '#username', text: 'alice@example.com' (sessionId from previous Session node). Output: API response indicating the type action succeeded.
Example 2: Batch queuing
mode: build, selector: '#password', text: 'secret123', delay: 50 (sessionId from Session node). Output: { session_id: '...', queued_actions: [{ action: 'playwright.type', params: { selector: '#password', text: 'secret123', delay: 50, timeout: 30000 } }], queued_count: 1 }