toggle_display
Switch browser display mode between headless, headed, and virtual to handle CAPTCHAs or visual tasks. Open VNC URL to interact with GUI. Cookies persist across mode changes.
Instructions
Toggle browser display mode between headless and headed. When encountering CAPTCHAs or issues requiring visual interaction, switch to headed mode (headless: false) to show the browser window. After resolving, switch back to headless mode (headless: true). When switching to virtual or headed mode, the response includes a vncUrl field — open this URL in a browser to see and interact with the browser GUI. Note: This restarts the browser context — all tabs are invalidated but cookies/auth persist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | User/session identifier | |
| headless | Yes | Display mode — false for headed, true for headless, "virtual" for virtual display |