Releases: cloudflare/puppeteer
Releases · cloudflare/puppeteer
Fix missing api host
Fix activeSessions type
Merge pull request #49 from cloudflare/fix-ci-2 chore: fix lint
Allow connection to any browser provider
Updates the connect
method to allow to connect to any browser provider.
Add keep alive option
The default idle time of a browser session is 1 minute, which means that after 1 minute of inactivity (no devtools commands), the browser will be automatically shutdown. With this option, users can now increase it up to 10 minutes.
Add ability to list sessions and connect to an existing sessions
Adds new methods:
puppeteer.sessions()
: lists current open sessions/browsers. Sessions with aconnectionId
already have a devtools connection from a workerpuppeteer.connect(endpoint, sessionId)
: connects to an open session/browserpuppeteer.history()
: lists recent sessions, open and closed, useful to get a sense of what's happeningpuppeteer.limits()
: return current limits (eg. can the user open a new browser now?)
Fixes page.screenshot()
This release fixes page.screenshot()
Adds back support to page.pdf()
Merge pull request #15 from cloudflare/pdf-support Adds back support to page.pdf()