What you stop operating
The connection change
Whatever you point Playwright or Puppeteer at today becomes a Kernelcdp_ws_url:
Then make these three changes
That gets you running. The benefit is in what comes next, in this order:- Stop connecting over CDP for the hot path. Playwright execution runs your code inside the browser’s VM: no round trip per action, no connection to keep alive, and no CDP fingerprint for anti-bot vendors to read. See how you drive the browser.
- Replace your session-state handling with profiles, and your login scripts with managed auth.
- Delete your warm-pool code. Browser pools hold pre-configured browsers with a fill rate, and idle pool browsers aren’t billed.
Two things to check before cutting over
- Region. Browsers default to
us-east. If your loop runs elsewhere, either move it or run it on the App Platform — otherwise you trade container start-up latency for network latency. - Isolation model. Each Kernel browser is a microVM with its own kernel, so per-browser isolation is stronger than a shared-kernel container. If you were multiplexing tabs across one Chrome to save memory, use more browsers instead.