Skip to main content
Execute Playwright/TypeScript automation code against a Kernel browser session. If session_id is provided, uses that existing browser; otherwise creates a new one. Returns the result with a video replay URL, and auto-cleans up browsers it creates.
Use computer_action with the screenshot action instead of page.screenshot() in your code. For a comprehensive page state snapshot, use await page._snapshotForAI().

Parameters

Example

Returns: