Installation
Use
puppeteer-core instead of puppeteer — Driver provides the browser, so you don’t need Puppeteer to download one.Quick Start
TypeScript
With Session Options
TypeScript
Taking Screenshots
TypeScript
Generating PDFs
TypeScript
With Persistent Profiles
TypeScript
Error Handling
TypeScript
Tips
- Use
browser.disconnect()instead ofbrowser.close()to keep the remote session running - Use
hostedsessions for predictable managed Chrome infrastructure