Source docs (fetched 2026-10-08): https://www.kernel.sh/docs/introduction/create , /introduction/control , /browsers/replays
Questions
- Following the "create" page: does
browsers.create()return session_id, cdp_ws_url, live view url, and doesdeleteByID()clean up? - Speed: Kernel vs local Chrome for (a) start-up, (b) page load, (c) many small commands.
- Control: can we drive it by CDP (Playwright from here) and by
playwright.execute(code runs inside the VM)? - Bonus: can we record a session (replays.start/stop), get an MP4 and a view URL, and open it afterwards?
Examples (Gherkin in outputs/kernel.feature)
Each one is checked by outputs/run.mjs against the real Kernel API. No mocks.