Anchor Browser offers a live view feature that allows you to embed an interactive frame of a website as a web element. The live_view_url is received when creating a session with headless: false (which is the default mode).
Headful mode provides a single URL to view the full chrome view, including the address bar. This ensures the presented tab is always the active tab and provides the best user experience.
To create a browser in headful mode, set the headless parameter to false when creating a session:
Headless mode is being deprecated and will be removed in a future version. We recommend using headful mode for all new implementations.
To obtain the browser live session URL in headless mode, start by creating a session with headless: true:
The session_url points to the browser default first page. If your browser process involves creating a new page, collect the corresponding URL by using the live view URLs endpoint.
Then, use the create-session response to embed the live view URL directly into an iframe: