May 15, 2025
Session cookies are now fully persisted resulting in fewer session timeouts!
What changed?
Basic & Advanced Stealth were both updated such that contexts will now persist session cookies (cookies with expires: -1
). The cache that is saved from session to session has been slimmed down, decreasing the rate at which contexts grow in size with persist: true
.
What results should customers see?
Primarily, this increases the lifespan of the context 🎉 Sessions created with contexts are significantly less likely to time out when you try to connect.
This also means login flows are persisted across sessions more reliably.
Resources:
Learn more: https://docs.browserbase.com/features/contexts
Code Examples: Contexts code example & using Stagehand to login to Github