v6.0.0 (2021-02-02)
⚠ BREAKING CHANGES
- chromium: The built-in
aria/
selector query handler doesn’t return ignored elements anymore. - typescript: Puppeteer now ships with built-in TypeScript definitions. This means you no longer need to install
@types/puppeteer
. We are aware that there are likely improvements that can be made to our types to improve the developer experience when using them; please open issues if you hit any problems with the built-in TS definitions, or notice areas where you feel types are lacking.
Features
- chromium: roll Chromium to r843427 (#6797) (8f9fbdb), closes #6758
- add page.emulateNetworkConditions (#6759) (5ea76e9)
- types: expose typedefs to consumers (#6745) (ebd087a)
- add iPhone 11 models to DeviceDescriptors (#6467) (50b810d)
- support fetching and launching on Apple M1 (9a8479a), closes #6495 #6634 #6641 #6614
- support promise as return value for page.waitForResponse predicate (#6624) (b57f3fc)