v2.0.0
Big changes
- Chromium 79.0.3942.0 (r706915)
- Puppeteer now requires Node.js v8+; Node.js v6 is no longer supported
page.screenshot
now clips elements to the viewport (#5080)- New APIs:
API changes
- New API:
page.emulateTimezone(timezoneId)
(#4949) - New API:
page.emulateMediaType(type)
(#5012) - Deprecated API:
page.emulateMedia(type)
is now obsolete. Usepage.emulateMediaType(type)
instead. (#5012) - New API:
page.emulateMediaFeatures(features)
(#5012)
Raw notes
aa24697 - chore: mark version v2.0.0 (#5078)
360c1b4 - test: add page.screenshot viewport clipping test (#5079)
7f3e372 - docs(api): improve page.waitFor docs for the options
object (#5021)
8132b39 - test: remove duplicate code from an example (#5072)
1248a19 - feat(api): add page.emulateTimezone(timezoneId)
(#4949)
a86363f - feat(api): add page.emulateMedia{Type,Features}
(#5012)
06dbb72 - chore: use map instead of plain object (#5068)
81d2600 - feat(chromium): roll Chromium to r705776 (#5058)
3773229 - fix: avoid unnecessary zero-delays in input code (#4934)
11ff374 - chore: drop Node.js v6 support (#5045)
c0ba8f9 - docs(troubleshooting): update Alpine Chromium versions (#4980)
2506169 - docs(contributing): mention manual docs/api updates (#5023)
83c327a - docs(readme): correct Slack link
4c62e09 - fix(comment): fix typo in Launcher.js (#4959)
7dbb108 - docs(api): list Chromium version for Puppeteer v1.20.0 (#5015)
5b34028 - chore: bump https-proxy-agent to mitigate a security issue (#5016)
dc57d03 - docs(api): clarify type
method examples (#5010)
fff2737 - doc(contributing): clarify release instructions (#4940)
387a532 - chore: bump version to v1.20.0-post (#4939)