Skip to content

v0.6.0 - Kernel Browsers & Logged-In Sessions

Choose a tag to compare

@ilchemla ilchemla released this 20 Oct 15:33
c06d7ce

Log in once and reuse the login across browser sessions, plus Kernel as a browser backend.

🚀 What's New

Log in once, reuse the login (#22)

  • control_url() returns a link where a person can drive the session, for example to log in. It's a secret, like cdp_url
  • With an existing vendor profile (an id; a name on Anchor) and persist_profile=True, the login is saved on release, and the next session on that profile starts logged in
  • Works on Browserbase, Steel, Hyperbrowser, Anchor and Kernel (Kernel needs headless=False). auto refuses profile and persist_profile: name the backend

Kernel for browser sessions (kernel) (#21)

  • Set KERNEL_API_KEY. Supports idle_timeout, stealth, headless and viewport. Without idle_timeout, Kernel ends a session after 60 s idle
  • timeout, solve_captchas and proxy_country raise an error: Kernel has no session lifetime, stealth already solves CAPTCHAs, and a proxy country needs a proxy created first
  • Tried after the other hosted browsers and before local, so existing calls keep their backend

🔄 Changed

Steel's, Hyperbrowser's and Anchor's interactive live-view links, before only in raw, are now also returned by control_url(). live_view_url is unchanged.

Full Changelog: v0.5.0...v0.6.0