9.0.0 (2021-04-21)
⚠ BREAKING CHANGES
- filechooser: FileChooser.cancel() is now synchronous.
Features
- chromium: roll to Chromium 91.0.4469.0 (r869685) (#7110) (715e7a8)
- launcher: fix installation error on Apple M1 chips (#7099) (c239d9e), closes #6622
- network: request interception and caching compatibility (#6996) (8695759)
- page: emit the event after removing the Worker (#7080) (e34a6d5)
- types: improve type of predicate function (#6997) (943477c), closes /github.com/DefinitelyTyped/DefinitelyTyped/blob/c43191a8f7a7d2a47bbff0bc3a7d95ecc64d2269/types/puppeteer/index.d.ts#L1883-L1885
- accept captureBeyondViewport as optional screenshot param (#7063) (0e092d2)
- page: add omitBackground option for page.pdf method (#6981) (dc8ab6d)
Bug Fixes
- aria: fix parsing of ARIA selectors (#7037) (4426135)
- page: fix mouse.click method (#7097) (ba7c367), closes #6462 #3347
- make
$
and$$
selectors generic (#6883) (b349c91) - type page event listeners correctly (#6891) (866d34e)
- typescript: allow defaultViewport to be 'null' (#6942) (e31e68d), closes #6885
- make screenshots work in puppeteer-web (#6936) (5f24f60)
- filechooser: cancel is sync (#6937) (2ba61e0)
- network: don't disable cache for auth challenge (#6962) (1c2479a)