Puppeteer
Connect to Chaser sessions with Puppeteer. The API is the same as connecting to a local browser — only the endpoint changes.
Installation
Use puppeteer-core, not puppeteer. The full puppeteer package downloads its own Chromium, which you don’t need — the browser is on Chaser’s side.
Basic connection
Notes
- Use
browserWSEndpoint, notbrowserURL(which is deprecated). puppeteer.connect()returns immediately. The session must be inreadystatus first.- As with patchright: don’t create new contexts, don’t override the user-agent, and use the
/screenshotendpoint instead ofpage.screenshot(). - Puppeteer’s bundled Chromium has known automation artifacts. For production use, prefer patchright (Playwright-based) which patches these at the browser level.