toggle_display
Switch browser display mode between headless and headed to handle CAPTCHAs or visual tasks, then revert to headless. Virtual mode provides VNC access for remote interaction.
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 an existing single context 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. Check tabsInvalidated in the response: when true, recreate tabs; when false, existing tracked tabs remain usable and the override applies to future contexts.
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 |