Skip to main content
Browser Pay connects to the Anchor session your worker drives through its CDP WebSocket URL, cdp_url. If you already have a session, use its cdp_url and go to Attach Browser Pay.

Start a session

Start a browser session with your Anchor API key. This starts a browser in your Anchor account. It does not create a Sapiom transaction.
Pass cdpUrl to attachInterceptor, and connect your driver to the same URL. Do not pass live_view_url; it is for watching the browser.

End the session

After checkout settles, call handle.detach(), close your driver, and end the session: