Skip to main content
Kernel browsers should be terminated after you’re done with them.
Using Playwright/Puppeteer’s method browser.close() does not delete the browser. Use one of the methods below to delete the browser.

Deleting a browser via session ID

Every browser instance has a session_id. You can delete any browser using its session ID:

Automatic deletion via timeout

If you don’t manually delete a browser, it will be automatically deleted after a configurable timeout (default 60 seconds). The timeout begins once the browser enters standby — i.e. when there’s no CDP or WebDriver client, no Live View viewer, and no computer controls request in flight. You can set a custom timeout of up to 72 hours when creating a browser: