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

Create a browser

Create a browser with your Kernel API key. This starts a browser in your Kernel account. It does not create a Sapiom transaction.
timeout_seconds is idle time. Kernel deletes the browser after 300 seconds with no CDP or live view connection. Pass cdpUrl to attachInterceptor, and connect your driver to the same URL.

Delete the browser

After checkout settles, call handle.detach(), close your driver, and delete the browser:
If you only close your driver, the browser runs until the idle timeout.