Integrate
Embed Browser UI
Obtaining the Session URL
Anchor Browser offers a live view feature that allows you to embed an interactive frame of a website as a web element.
To obtain the browser live session URL, start by creating a session, which will return the following object:
The session_url points to the browser default first page. If your browser proccess involves creating a new page, collect the corresponding URL by using the live view URLs endpoint.
Embedding the Live View
Embed the following iframe to get a live view of the browser session.
Advanced Embedding Configuration
Embed in Fullscreen View (Hide Navigation Bar)
To use the fullscreen view, replace the live view URL with the following:
Disable browser interactivity
To prevent the end user from interacting with the browser, add the style="pointer-events: none;"
attribute to the iframe:
Embed browser with multiple tabs
To embed the browser with multiple tabs, use the live view URLs API to obtain the metadata about the open tabs:
Below is an example of how to dynamically embed multiple tabs with a tab selector: