May 16, 2025
Keep-alive is more reliable now!
When a session is created with keepAlive: true
, a protection is set on the browser. This prevents it from being stopped on disconnect. The session is only stopped if:
The user stops the session via the API or dashboard
The session expires
Connect stops the session due to an error
Previously, the keepAlive protection expired based on a coarse timer. It now uses more precise timing, making protection behavior more accurate and reliable.
Read more: https://docs.browserbase.com/guides/long-running-sessions#keep-alive-sessions