puppeteer/puppeteer
### [`v9.1.1`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#911-httpsgithubcompuppeteerpuppeteercomparev910v911-2021-05-05)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v9.1.0...v9.1.1)
### [`v9.1.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#910-httpsgithubcompuppeteerpuppeteercomparev900v910-2021-05-03)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v9.0.0...v9.1.0)
##### Features
- add option to filter targets ([#7192](https://togithub.com/puppeteer/puppeteer/issues/7192)) ([ec3fc2e](https://togithub.com/puppeteer/puppeteer/commit/ec3fc2e035bb5ca14a576180fff612e1ecf6bad7))
##### Bug Fixes
- change rm -rf to rimraf ([#7168](https://togithub.com/puppeteer/puppeteer/issues/7168)) ([ad6b736](https://togithub.com/puppeteer/puppeteer/commit/ad6b736039436fcc5c0a262e5b575aa041427be3))
### [`v9.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#900-httpsgithubcompuppeteerpuppeteercomparev800v900-2021-04-21)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v8.0.0...v9.0.0)
##### ⚠ BREAKING CHANGES
- **filechooser:** FileChooser.cancel() is now synchronous.
##### Features
- **chromium:** roll to Chromium 91.0.4469.0 (r869685) ([#7110](https://togithub.com/puppeteer/puppeteer/issues/7110)) ([715e7a8](https://togithub.com/puppeteer/puppeteer/commit/715e7a8d62901d1c7ec602425c2fce8d8148b742))
- **launcher:** fix installation error on Apple M1 chips ([#7099](https://togithub.com/puppeteer/puppeteer/issues/7099)) ([c239d9e](https://togithub.com/puppeteer/puppeteer/commit/c239d9edc72d85697b4875c98fff3ec592848082)), closes [#6622](https://togithub.com/puppeteer/puppeteer/issues/6622)
- **network:** request interception and caching compatibility ([#6996](https://togithub.com/puppeteer/puppeteer/issues/6996)) ([8695759](https://togithub.com/puppeteer/puppeteer/commit/8695759a223bc1bd31baecb00dc28721216e4c6f))
- **page:** emit the event after removing the Worker ([#7080](https://togithub.com/puppeteer/puppeteer/issues/7080)) ([e34a6d5](https://togithub.com/puppeteer/puppeteer/commit/e34a6d53183c3e1f63a375ba6a26bee0dcfcf542))
- **types:** improve type of predicate function ([#6997](https://togithub.com/puppeteer/puppeteer/issues/6997)) ([943477c](https://togithub.com/puppeteer/puppeteer/commit/943477cc1eb4b129870142873b3554737d5ef252)), closes [/github.com/DefinitelyTyped/DefinitelyTyped/blob/c43191a8f7a7d2a47bbff0bc3a7d95ecc64d2269/types/puppeteer/index.d.ts#L1883-L1885](https://togithub.com/puppeteer//github.com/DefinitelyTyped/DefinitelyTyped/blob/c43191a8f7a7d2a47bbff0bc3a7d95ecc64d2269/types/puppeteer/index.d.ts/issues/L1883-L1885)
- accept captureBeyondViewport as optional screenshot param ([#7063](https://togithub.com/puppeteer/puppeteer/issues/7063)) ([0e092d2](https://togithub.com/puppeteer/puppeteer/commit/0e092d2ea0ec18ad7f07ad3507deb80f96086e7a))
- **page:** add omitBackground option for page.pdf method ([#6981](https://togithub.com/puppeteer/puppeteer/issues/6981)) ([dc8ab6d](https://togithub.com/puppeteer/puppeteer/commit/dc8ab6d8ca1661f8e56d329e6d9c49c891e8b975))
##### Bug Fixes
- **aria:** fix parsing of ARIA selectors ([#7037](https://togithub.com/puppeteer/puppeteer/issues/7037)) ([4426135](https://togithub.com/puppeteer/puppeteer/commit/4426135692ae3ee7ed2841569dd9375e7ca8286c))
- **page:** fix mouse.click method ([#7097](https://togithub.com/puppeteer/puppeteer/issues/7097)) ([ba7c367](https://togithub.com/puppeteer/puppeteer/commit/ba7c367de33ace7753fd9d8b8cc894b2c14ab6c2)), closes [#6462](https://togithub.com/puppeteer/puppeteer/issues/6462) [#3347](https://togithub.com/puppeteer/puppeteer/issues/3347)
- make `[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [puppeteer](https://togithub.com/puppeteer/puppeteer) | [`^1.18.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/puppeteer/1.20.0/9.1.1) | [![age](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/compatibility-slim/1.20.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/confidence-slim/1.20.0)](https://docs.renovatebot.com/merge-confidence/) |
:information_source: Find our documentation at https://github.com/Financial-Times/next/wiki/Renovate.
---
and `$` selectors generic ([#6883](https://togithub.com/puppeteer/puppeteer/issues/6883)) ([b349c91](https://togithub.com/puppeteer/puppeteer/commit/b349c91e7df76630b7411d6645e649945c4609bd))
- type page event listeners correctly ([#6891](https://togithub.com/puppeteer/puppeteer/issues/6891)) ([866d34e](https://togithub.com/puppeteer/puppeteer/commit/866d34ee1122e89eab00743246676845bb065968))
- **typescript:** allow defaultViewport to be 'null' ([#6942](https://togithub.com/puppeteer/puppeteer/issues/6942)) ([e31e68d](https://togithub.com/puppeteer/puppeteer/commit/e31e68dfa12dd50482b700472bc98876b9031829)), closes [#6885](https://togithub.com/puppeteer/puppeteer/issues/6885)
- make screenshots work in puppeteer-web ([#6936](https://togithub.com/puppeteer/puppeteer/issues/6936)) ([5f24f60](https://togithub.com/puppeteer/puppeteer/commit/5f24f608194fd4252da7b288461427cabc9dabb3))
- **filechooser:** cancel is sync ([#6937](https://togithub.com/puppeteer/puppeteer/issues/6937)) ([2ba61e0](https://togithub.com/puppeteer/puppeteer/commit/2ba61e04e923edaac09c92315212552f2d4ce676))
- **network:** don't disable cache for auth challenge ([#6962](https://togithub.com/puppeteer/puppeteer/issues/6962)) ([1c2479a](https://togithub.com/puppeteer/puppeteer/commit/1c2479a6cd4bd09a577175ffd31c40ca6f4279b8))
### [`v8.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#800-httpsgithubcompuppeteerpuppeteercomparev710v800-2021-02-26)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.1.0...v8.0.0)
##### ⚠ BREAKING CHANGES
- renamed type `ChromeArgOptions` to `BrowserLaunchArgumentOptions`
- renamed type `BrowserOptions` to `BrowserConnectOptions`
##### Features
- **chromium:** roll Chromium to r856583 ([#6927](https://togithub.com/puppeteer/puppeteer/issues/6927)) ([0c688bd](https://togithub.com/puppeteer/puppeteer/commit/0c688bd75ef1d1fc3afd14cbe8966757ecda68fb))
##### Bug Fixes
- explicit HTTPRequest.resourceType type defs ([#6882](https://togithub.com/puppeteer/puppeteer/issues/6882)) ([ff26c62](https://togithub.com/puppeteer/puppeteer/commit/ff26c62647b60cd0d8d7ea66ee998adaadc3fcc2)), closes [#6854](https://togithub.com/puppeteer/puppeteer/issues/6854)
- expose `Viewport` type ([#6881](https://togithub.com/puppeteer/puppeteer/issues/6881)) ([be7c229](https://togithub.com/puppeteer/puppeteer/commit/be7c22933c1dcf5eee797d61463171bd0ef44582))
- improve TS types for launching browsers ([#6888](https://togithub.com/puppeteer/puppeteer/issues/6888)) ([98c8145](https://togithub.com/puppeteer/puppeteer/commit/98c81458c27f378eb66c38e1620e79e2ffde418e))
- move CI npm config out of .npmrc ([#6901](https://togithub.com/puppeteer/puppeteer/issues/6901)) ([f7de60b](https://togithub.com/puppeteer/puppeteer/commit/f7de60be22d9bc6433ada7bfefeaa7f6f6f62047))
### [`v7.1.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#710-httpsgithubcompuppeteerpuppeteercomparev704v710-2021-02-12)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.4...v7.1.0)
##### Features
- **page:** add color-gamut support to Page.emulateMediaFeatures ([#6857](https://togithub.com/puppeteer/puppeteer/issues/6857)) ([ad59357](https://togithub.com/puppeteer/puppeteer/commit/ad5935738d869cfce386a0d28b4bc6131457f962)), closes [#6761](https://togithub.com/puppeteer/puppeteer/issues/6761)
##### Bug Fixes
- add favicon test asset ([#6868](https://togithub.com/puppeteer/puppeteer/issues/6868)) ([a63f53c](https://togithub.com/puppeteer/puppeteer/commit/a63f53c9380545550503f5539494c72c607e19ac))
- expose `ScreenshotOptions` type in type defs ([#6869](https://togithub.com/puppeteer/puppeteer/issues/6869)) ([63d48b2](https://togithub.com/puppeteer/puppeteer/commit/63d48b2ecba317b6c0a3acad87a7a3671c769dbc)), closes [#6866](https://togithub.com/puppeteer/puppeteer/issues/6866)
- expose puppeteer.Permission type ([#6856](https://togithub.com/puppeteer/puppeteer/issues/6856)) ([a5e174f](https://togithub.com/puppeteer/puppeteer/commit/a5e174f696eb192c541db64a603ea5cdf385a643))
- jsonValue() type is generic ([#6865](https://togithub.com/puppeteer/puppeteer/issues/6865)) ([bdaba78](https://togithub.com/puppeteer/puppeteer/commit/bdaba7829da366aabbc81885d84bb2401ab3eaff))
- wider compat TS types and CI checks to ensure correct type defs ([#6855](https://togithub.com/puppeteer/puppeteer/issues/6855)) ([6a0eb78](https://togithub.com/puppeteer/puppeteer/commit/6a0eb7841fd82493903b0b9fa153d2de181350eb))
##### [7.0.4](https://togithub.com/puppeteer/puppeteer/compare/v7.0.3...v7.0.4) (2021-02-09)
##### Bug Fixes
- make publish bot run full build, not just tsc ([#6848](https://togithub.com/puppeteer/puppeteer/issues/6848)) ([f718b14](https://togithub.com/puppeteer/puppeteer/commit/f718b14b64df8be492d344ddd35e40961ff750c5))
##### [7.0.3](https://togithub.com/puppeteer/puppeteer/compare/v7.0.2...v7.0.3) (2021-02-09)
##### Bug Fixes
- include lib/types.d.ts in files list ([#6844](https://togithub.com/puppeteer/puppeteer/issues/6844)) ([e34f317](https://togithub.com/puppeteer/puppeteer/commit/e34f317b37533256a063c1238609b488d263b998))
##### [7.0.2](https://togithub.com/puppeteer/puppeteer/compare/v7.0.1...v7.0.2) (2021-02-09)
##### Bug Fixes
- much better TypeScript definitions ([#6837](https://togithub.com/puppeteer/puppeteer/issues/6837)) ([f1b46ab](https://togithub.com/puppeteer/puppeteer/commit/f1b46ab5faa262f893c17923579d0cf52268a764))
- **domworld:** reset bindings when context changes ([#6766](https://togithub.com/puppeteer/puppeteer/issues/6766)) ([#6836](https://togithub.com/puppeteer/puppeteer/issues/6836)) ([4e8d074](https://togithub.com/puppeteer/puppeteer/commit/4e8d074c2f8384a2f283f5edf9ef69c40bd8464f))
- **launcher:** output correct error message for browser ([#6815](https://togithub.com/puppeteer/puppeteer/issues/6815)) ([6c61874](https://togithub.com/puppeteer/puppeteer/commit/6c618747979c3a08f2727e9e22fe45cade8c926a))
##### [7.0.1](https://togithub.com/puppeteer/puppeteer/compare/v7.0.0...v7.0.1) (2021-02-04)
##### Bug Fixes
- **typescript:** ship .d.ts file in npm package ([#6811](https://togithub.com/puppeteer/puppeteer/issues/6811)) ([a7e3c2e](https://togithub.com/puppeteer/puppeteer/commit/a7e3c2e09e9163eee2f15221aafa4400e6a75f91))
### [`v7.0.4`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#704-httpsgithubcompuppeteerpuppeteercomparev703v704-2021-02-09)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.3...v7.0.4)
### [`v7.0.3`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#703-httpsgithubcompuppeteerpuppeteercomparev702v703-2021-02-09)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.2...v7.0.3)
### [`v7.0.2`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#702-httpsgithubcompuppeteerpuppeteercomparev701v702-2021-02-09)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.1...v7.0.2)
### [`v7.0.1`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#701-httpsgithubcompuppeteerpuppeteercomparev700v701-2021-02-04)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.0...v7.0.1)
### [`v7.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#700-httpsgithubcompuppeteerpuppeteercomparev600v700-2021-02-03)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v6.0.0...v7.0.0)
##### ⚠ BREAKING CHANGES
- - `page.screenshot` makes a screenshot with the clip dimensions, not cutting it by the ViewPort size.
- **chromium:** - `page.screenshot` cuts screenshot content by the ViewPort size, not ViewPort position.
##### Features
- use `captureBeyondViewport` in `Page.captureScreenshot` ([#6805](https://togithub.com/puppeteer/puppeteer/issues/6805)) ([401d84e](https://togithub.com/puppeteer/puppeteer/commit/401d84e4a3508f9ca5c24dbfcad2a71571b1b8eb))
- **chromium:** roll Chromium to r848005 ([#6801](https://togithub.com/puppeteer/puppeteer/issues/6801)) ([890d5c2](https://togithub.com/puppeteer/puppeteer/commit/890d5c2e57cdee7d73915a878bda86b72e26b608))
### [`v6.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#600-httpsgithubcompuppeteerpuppeteercomparev550v600-2021-02-02)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.5.0...v6.0.0)
##### ⚠ BREAKING CHANGES
- **chromium:** The built-in `aria/` selector query handler doesn’t return ignored elements anymore.
##### Features
- **chromium:** roll Chromium to r843427 ([#6797](https://togithub.com/puppeteer/puppeteer/issues/6797)) ([8f9fbdb](https://togithub.com/puppeteer/puppeteer/commit/8f9fbdbae68254600a9c73ab05f36146c975dba6)), closes [#6758](https://togithub.com/puppeteer/puppeteer/issues/6758)
- add page.emulateNetworkConditions ([#6759](https://togithub.com/puppeteer/puppeteer/issues/6759)) ([5ea76e9](https://togithub.com/puppeteer/puppeteer/commit/5ea76e9333c42ab5a751ca01aa5676a662f6c063))
- **types:** expose typedefs to consumers ([#6745](https://togithub.com/puppeteer/puppeteer/issues/6745)) ([ebd087a](https://togithub.com/puppeteer/puppeteer/commit/ebd087a31661a1b701650d0be3e123cc5a813bd8))
- add iPhone 11 models to DeviceDescriptors ([#6467](https://togithub.com/puppeteer/puppeteer/issues/6467)) ([50b810d](https://togithub.com/puppeteer/puppeteer/commit/50b810dab7fae5950ba086295462788f91ff1e6f))
- support fetching and launching on Apple M1 ([9a8479a](https://togithub.com/puppeteer/puppeteer/commit/9a8479a52a7d8b51690b0732b2a10816cd1b8aef)), closes [#6495](https://togithub.com/puppeteer/puppeteer/issues/6495) [#6634](https://togithub.com/puppeteer/puppeteer/issues/6634) [#6641](https://togithub.com/puppeteer/puppeteer/issues/6641) [#6614](https://togithub.com/puppeteer/puppeteer/issues/6614)
- support promise as return value for page.waitForResponse predicate ([#6624](https://togithub.com/puppeteer/puppeteer/issues/6624)) ([b57f3fc](https://togithub.com/puppeteer/puppeteer/commit/b57f3fcd5393c68f51d82e670b004f5b116dcbc3))
##### Bug Fixes
- **domworld:** fix waitfor bindings ([#6766](https://togithub.com/puppeteer/puppeteer/issues/6766)) ([#6775](https://togithub.com/puppeteer/puppeteer/issues/6775)) ([cac540b](https://togithub.com/puppeteer/puppeteer/commit/cac540be3ab8799a1d77b0951b16bc22ea1c2adb))
- **launcher:** rename TranslateUI to Translate to match Chrome ([#6692](https://togithub.com/puppeteer/puppeteer/issues/6692)) ([d901696](https://togithub.com/puppeteer/puppeteer/commit/d901696e0d8901bcb23cf676a5e5ac562f821a0d))
- do not use old utility world ([#6528](https://togithub.com/puppeteer/puppeteer/issues/6528)) ([fb85911](https://togithub.com/puppeteer/puppeteer/commit/fb859115c0e2829bae1d1b32edbf642988e2ef76)), closes [#6527](https://togithub.com/puppeteer/puppeteer/issues/6527)
- update to https-proxy-agent@^5.0.0 to fix `ERR_INVALID_PROTOCOL` ([#6555](https://togithub.com/puppeteer/puppeteer/issues/6555)) ([3bf5a55](https://togithub.com/puppeteer/puppeteer/commit/3bf5a552890ee80cc4326b1e430424b0fdad4363))
### [`v5.5.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#550-httpsgithubcompuppeteerpuppeteercomparev541v550-2020-11-16)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.4.1...v5.5.0)
##### Features
- **chromium:** roll Chromium to r818858 ([#6526](https://togithub.com/puppeteer/puppeteer/issues/6526)) ([b549256](https://togithub.com/puppeteer/puppeteer/commit/b54925695200cad32f470f8eb407259606447a85))
##### Bug Fixes
- **common:** fix generic type of `_isClosedPromise` ([#6579](https://togithub.com/puppeteer/puppeteer/issues/6579)) ([122f074](https://togithub.com/puppeteer/puppeteer/commit/122f074f92f47a7b9aa08091851e51a07632d23b))
- **domworld:** fix missing binding for waittasks ([#6562](https://togithub.com/puppeteer/puppeteer/issues/6562)) ([67da1cf](https://togithub.com/puppeteer/puppeteer/commit/67da1cf866703f5f581c9cce4923697ac38129ef))
### [`v5.4.1`](https://togithub.com/puppeteer/puppeteer/releases/v5.4.1)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.4.0...v5.4.1)
#### Bug fixes
- Fixed an issue in 5.4.0 on Node.js v10.17.0 and below where trying to access `fs.promises` would throw an error. See [#6548](https://togithub.com/puppeteer/puppeteer/issues/6548) for the bug report and [#6550](https://togithub.com/puppeteer/puppeteer/issues/6550) for the fix. We now run a CI build on Node 10.15 to ensure we don't cause similar regressions in the future.
#### Raw notes
[`520cd90`](https://togithub.com/puppeteer/puppeteer/commit/520cd90e) - chore: mark version 5.4.1
[`8f4a79e`](https://togithub.com/puppeteer/puppeteer/commit/8f4a79e1) - docs(troubleshooting): update Alpine Chromium version ([#6529](https://togithub.com/puppeteer/puppeteer/issues/6529))
[`e45acce`](https://togithub.com/puppeteer/puppeteer/commit/e45acce9) - chore: run unit tests on node 10.15 + fix fs.promises access ([#6550](https://togithub.com/puppeteer/puppeteer/issues/6550))
[`a2175c6`](https://togithub.com/puppeteer/puppeteer/commit/a2175c6f) - docs(queryhandler): fix link ([#6543](https://togithub.com/puppeteer/puppeteer/issues/6543))
[`d787865`](https://togithub.com/puppeteer/puppeteer/commit/d7878650) - chore: bump version to v5.4.0-post ([#6544](https://togithub.com/puppeteer/puppeteer/issues/6544))
### [`v5.4.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.4.0)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.3.1...v5.4.0)
### Feature changes
#### Custom query handler API
The custom query handler support is no longer marked as experimental. The API has been updated to:
```javascript,
puppeteer.registerCustomQueryHandler(name: string, queryHandler: CustomQueryHandler): void;
puppeteer.unregisterCustomQueryHandler(name: string): void;
puppeteer.customQueryHandlerNames(): string[];
puppeteer.clearCustomQueryHandlers(): void;
```
#### New built-in query handlers
Puppeteer now ships with two built-in handlers: `aria` and `pierce`:
- The `aria` handler ([#6307](https://togithub.com/puppeteer/puppeteer/issues/6307)) allows querying elements based on the accessibility tree.
- The `pierce` handler ([#6509](https://togithub.com/puppeteer/puppeteer/pull/6509)) pierces shadow roots while querying for a CSS selector.
#### Roll Chromium 87.0.4272.0 (r809590)
### Behind the scenes
- We now enforce Conventional Commits through commitlint ([#6483](https://togithub.com/puppeteer/puppeteer/issues/6483))
- We've started work towards automating the release process. This work can be tracked in [#6482](https://togithub.com/puppeteer/puppeteer/issues/6482).
### Raw notes
[`5e5fed1`](https://togithub.com/puppeteer/puppeteer/commit/5e5fed1d) - fix: ignore spurious bindingCalled events ([#6538](https://togithub.com/puppeteer/puppeteer/issues/6538))
[`e6b8c77`](https://togithub.com/puppeteer/puppeteer/commit/e6b8c77d) - chore: fix travis config ([#6537](https://togithub.com/puppeteer/puppeteer/issues/6537))
[`c756fb4`](https://togithub.com/puppeteer/puppeteer/commit/c756fb49) - fix(utils): typo fix ([#6522](https://togithub.com/puppeteer/puppeteer/issues/6522))
[`f63a123`](https://togithub.com/puppeteer/puppeteer/commit/f63a123e) - chore(agnostification): agnostify web socket connections ([#6520](https://togithub.com/puppeteer/puppeteer/issues/6520))
[`c2c2bb7`](https://togithub.com/puppeteer/puppeteer/commit/c2c2bb7e) - chore(agnostification): common/helper.ts ([#6515](https://togithub.com/puppeteer/puppeteer/issues/6515))
[`637a1f7`](https://togithub.com/puppeteer/puppeteer/commit/637a1f74) - chore: gitignore new-docs ([#6511](https://togithub.com/puppeteer/puppeteer/issues/6511))
[`e655bb6`](https://togithub.com/puppeteer/puppeteer/commit/e655bb6c) - chore(agnostification): split up root Puppeteer class ([#6504](https://togithub.com/puppeteer/puppeteer/issues/6504))
[`f3086d7`](https://togithub.com/puppeteer/puppeteer/commit/f3086d7c) - fix(launcher): support relative userDataDir on headless Windows ([#6506](https://togithub.com/puppeteer/puppeteer/issues/6506))
[`8fabe32`](https://togithub.com/puppeteer/puppeteer/commit/8fabe328) - feat(queryhandler): add built-in pierce handler ([#6509](https://togithub.com/puppeteer/puppeteer/issues/6509))
[`f04bec5`](https://togithub.com/puppeteer/puppeteer/commit/f04bec5a) - chore: update eslint & eslint plugins ([#6487](https://togithub.com/puppeteer/puppeteer/issues/6487))
[`4846b87`](https://togithub.com/puppeteer/puppeteer/commit/4846b872) - chore(agnostification): split up launcher class ([#6484](https://togithub.com/puppeteer/puppeteer/issues/6484))
[`1ed38af`](https://togithub.com/puppeteer/puppeteer/commit/1ed38af7) - chore(node): move install.ts into node/ ([#6490](https://togithub.com/puppeteer/puppeteer/issues/6490))
[`e94a1e8`](https://togithub.com/puppeteer/puppeteer/commit/e94a1e87) - chore: bump misc dependencies ([#6488](https://togithub.com/puppeteer/puppeteer/issues/6488))
[`936ccdc`](https://togithub.com/puppeteer/puppeteer/commit/936ccdca) - chore: enforce Conventional Commits through commitlint ([#6483](https://togithub.com/puppeteer/puppeteer/issues/6483))
[`502ed8c`](https://togithub.com/puppeteer/puppeteer/commit/502ed8c8) - chore(agnostify): Create Node and Web initializer. ([#6477](https://togithub.com/puppeteer/puppeteer/issues/6477))
[`3afe193`](https://togithub.com/puppeteer/puppeteer/commit/3afe1935) - feat(a11y-query): extend aria handler with waitFor ([#6472](https://togithub.com/puppeteer/puppeteer/issues/6472))
[`cc7f1fd`](https://togithub.com/puppeteer/puppeteer/commit/cc7f1fd0) - docs(queryhandler): add custom query handler docs ([#6476](https://togithub.com/puppeteer/puppeteer/issues/6476))
[`70ed875`](https://togithub.com/puppeteer/puppeteer/commit/70ed8751) - fix(queryhandler) only expose custom handlers ([#6475](https://togithub.com/puppeteer/puppeteer/issues/6475))
[`950ae33`](https://togithub.com/puppeteer/puppeteer/commit/950ae334) - feat(a11y-query): aria query handler sans waitfor ([#6459](https://togithub.com/puppeteer/puppeteer/issues/6459))
[`41ef3ee`](https://togithub.com/puppeteer/puppeteer/commit/41ef3eec) - fix: update preferences in default Firefox profile ([#6465](https://togithub.com/puppeteer/puppeteer/issues/6465))
[`9275653`](https://togithub.com/puppeteer/puppeteer/commit/92756531) - docs(examples): update selector for search example ([#6471](https://togithub.com/puppeteer/puppeteer/issues/6471))
[`49f25e2`](https://togithub.com/puppeteer/puppeteer/commit/49f25e24) - feat(chromium) roll Chromium to r809590 ([#6458](https://togithub.com/puppeteer/puppeteer/issues/6458))
[`4cdbebe`](https://togithub.com/puppeteer/puppeteer/commit/4cdbebe1) - chore: disable firefox windows launcher test until Nov ([#6451](https://togithub.com/puppeteer/puppeteer/issues/6451))
[`75e3fb0`](https://togithub.com/puppeteer/puppeteer/commit/75e3fb03) - docs(api): fix some outdated links ([#6450](https://togithub.com/puppeteer/puppeteer/issues/6450))
[`caa9a1c`](https://togithub.com/puppeteer/puppeteer/commit/caa9a1ca) - chore(agnostic): Remove use of util.promisify ([#6446](https://togithub.com/puppeteer/puppeteer/issues/6446))
[`96f3d43`](https://togithub.com/puppeteer/puppeteer/commit/96f3d439) - feat(console): expose stack trace for console messages ([#6445](https://togithub.com/puppeteer/puppeteer/issues/6445))
[`322cc96`](https://togithub.com/puppeteer/puppeteer/commit/322cc96e) - chore: remove npm run test-types call ([#6447](https://togithub.com/puppeteer/puppeteer/issues/6447))
[`72fe86f`](https://togithub.com/puppeteer/puppeteer/commit/72fe86fe) - feat(a11y-query): introduce internal handlers ([#6437](https://togithub.com/puppeteer/puppeteer/issues/6437))
[`1396c9d`](https://togithub.com/puppeteer/puppeteer/commit/1396c9d4) - chore: bump version to v5.3.1-post ([#6440](https://togithub.com/puppeteer/puppeteer/issues/6440))
[`11ab402`](https://togithub.com/puppeteer/puppeteer/commit/11ab4028) - fix: add mime dependency back to fix build ([#6441](https://togithub.com/puppeteer/puppeteer/issues/6441))
### [`v5.3.1`](https://togithub.com/puppeteer/puppeteer/releases/v5.3.1)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.3.0...v5.3.1)
##### Highlights
- New API: `page.emulateIdleState(...)` ([#6410](https://togithub.com/puppeteer/puppeteer/issues/6410))
##### Raw notes
[`c7d32cb`](https://togithub.com/puppeteer/puppeteer/commit/c7d32cb9) - chore: mark version v5.3.1 ([#6439](https://togithub.com/puppeteer/puppeteer/issues/6439))
[`8f3171a`](https://togithub.com/puppeteer/puppeteer/commit/8f3171a3) - feat(permissions): Add idle-detection permission ([#6438](https://togithub.com/puppeteer/puppeteer/issues/6438))
[`083ea41`](https://togithub.com/puppeteer/puppeteer/commit/083ea41e) - test(frame): correct terminology in URL fragment test ([#6416](https://togithub.com/puppeteer/puppeteer/issues/6416))
[`bb1c521`](https://togithub.com/puppeteer/puppeteer/commit/bb1c5215) - chore: remove mime dependency ([#6415](https://togithub.com/puppeteer/puppeteer/issues/6415))
[`17960e5`](https://togithub.com/puppeteer/puppeteer/commit/17960e5d) - feat(page): emulate idle state ([#6410](https://togithub.com/puppeteer/puppeteer/issues/6410))
[`03e41da`](https://togithub.com/puppeteer/puppeteer/commit/03e41da4) - chore: bump version to v5.3.0-post ([#6413](https://togithub.com/puppeteer/puppeteer/issues/6413))
### [`v5.3.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.3.0)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.2.1...v5.3.0)
#### Highlights
- Chromium 86.0.4240.0 (r800071)
- Support configuring the browser download path through `PUPPETEER_DOWNLOAD_PATH` ([#6014](https://togithub.com/puppeteer/puppeteer/issues/6014))
- New API: `page.waitForTimeout` and subsequently, `frame.waitForTimeout` ([#6268](https://togithub.com/puppeteer/puppeteer/issues/6268))
- Deprecated API: `page.waitFor` and `frame.waitFor` ([#6268](https://togithub.com/puppeteer/puppeteer/issues/6268))
#### Raw notes
[`030fcaa`](https://togithub.com/puppeteer/puppeteer/commit/030fcaa0) - chore: mark version v5.3.0 ([#6412](https://togithub.com/puppeteer/puppeteer/issues/6412))
[`4ce600a`](https://togithub.com/puppeteer/puppeteer/commit/4ce600a6) - chore: Remove target debug-unit and add unit-debug ([#6411](https://togithub.com/puppeteer/puppeteer/issues/6411))
[`62ac167`](https://togithub.com/puppeteer/puppeteer/commit/62ac1673) - feat(chromium): roll Chromium to r800071 ([#6407](https://togithub.com/puppeteer/puppeteer/issues/6407))
[`35cfbe1`](https://togithub.com/puppeteer/puppeteer/commit/35cfbe18) - docs(troubleshooting.md): updated commands ([#6296](https://togithub.com/puppeteer/puppeteer/issues/6296))
[`ce6ae35`](https://togithub.com/puppeteer/puppeteer/commit/ce6ae353) - doc(contributing): add info on bisecting upstream changes ([#6402](https://togithub.com/puppeteer/puppeteer/issues/6402))
[`e22ca4c`](https://togithub.com/puppeteer/puppeteer/commit/e22ca4c7) - chore: extend Firefox launch test deadline by a month ([#6403](https://togithub.com/puppeteer/puppeteer/issues/6403))
[`2470d1e`](https://togithub.com/puppeteer/puppeteer/commit/2470d1e9) - chore: update documentation on rolling chromium ([#6399](https://togithub.com/puppeteer/puppeteer/issues/6399))
[`b6bbfd0`](https://togithub.com/puppeteer/puppeteer/commit/b6bbfd0e) - fix: ensure frame.url() includes the query string ([#6398](https://togithub.com/puppeteer/puppeteer/issues/6398))
[`7b24e54`](https://togithub.com/puppeteer/puppeteer/commit/7b24e543) - fix: revise interesting classification for AXNodes ([#6334](https://togithub.com/puppeteer/puppeteer/issues/6334))
[`13ea347`](https://togithub.com/puppeteer/puppeteer/commit/13ea347c) - feat: support configuring the browser download path ([#6014](https://togithub.com/puppeteer/puppeteer/issues/6014))
[`615cd37`](https://togithub.com/puppeteer/puppeteer/commit/615cd37f) - chore: use https URL for license info ([#6279](https://togithub.com/puppeteer/puppeteer/issues/6279))
[`b4c1e45`](https://togithub.com/puppeteer/puppeteer/commit/b4c1e453) - docs: fix setuid sandbox link ([#6310](https://togithub.com/puppeteer/puppeteer/issues/6310))
[`054d782`](https://togithub.com/puppeteer/puppeteer/commit/054d782c) - fix(Launcher): use wait-for-process Firefox option ([#6315](https://togithub.com/puppeteer/puppeteer/issues/6315))
[`996e82c`](https://togithub.com/puppeteer/puppeteer/commit/996e82c7) - test(install): check for Firefox binary, clean up messages ([#6316](https://togithub.com/puppeteer/puppeteer/issues/6316))
[`142f88c`](https://togithub.com/puppeteer/puppeteer/commit/142f88c7) - docs(troubleshooting): update Alpine Chromium version ([#6320](https://togithub.com/puppeteer/puppeteer/issues/6320))
[`8e29b7a`](https://togithub.com/puppeteer/puppeteer/commit/8e29b7a3) - chore: rename serializeTree parameter ([#6308](https://togithub.com/puppeteer/puppeteer/issues/6308))
[`1d08e27`](https://togithub.com/puppeteer/puppeteer/commit/1d08e274) - docs(troubleshooting.md) fix error in docker guidelines ([#6267](https://togithub.com/puppeteer/puppeteer/issues/6267))
[`9bc063b`](https://togithub.com/puppeteer/puppeteer/commit/9bc063b5) - chore: assert location value of ConsoleMessage in tests ([#6282](https://togithub.com/puppeteer/puppeteer/issues/6282))
[`713e990`](https://togithub.com/puppeteer/puppeteer/commit/713e9905) - chore: upgrade Mitt to 2.1 ([#6287](https://togithub.com/puppeteer/puppeteer/issues/6287))
[`21552f8`](https://togithub.com/puppeteer/puppeteer/commit/21552f8f) - feat: page.waitForTimeout ([#6268](https://togithub.com/puppeteer/puppeteer/issues/6268))
[`3a15c06`](https://togithub.com/puppeteer/puppeteer/commit/3a15c06c) - chore: test Connection class in the browser ([#6269](https://togithub.com/puppeteer/puppeteer/issues/6269))
[`a47b556`](https://togithub.com/puppeteer/puppeteer/commit/a47b5561) - docs(api): fix typo in elementHandle.evaluateHandle() ([#6276](https://togithub.com/puppeteer/puppeteer/issues/6276))
[`8c1a586`](https://togithub.com/puppeteer/puppeteer/commit/8c1a5866) - fix: handle promise for reading protocol stream of trace ([#6270](https://togithub.com/puppeteer/puppeteer/issues/6270))
[`15d1906`](https://togithub.com/puppeteer/puppeteer/commit/15d1906e) - feat: add web test runner ([#6200](https://togithub.com/puppeteer/puppeteer/issues/6200))
[`13f8fe6`](https://togithub.com/puppeteer/puppeteer/commit/13f8fe6e) - chore(docs): `page.emulateVisionDeficiency` docs ([#6231](https://togithub.com/puppeteer/puppeteer/issues/6231))
[`e3933dd`](https://togithub.com/puppeteer/puppeteer/commit/e3933ddd) - chore: mark 5.2.1-post ([#6257](https://togithub.com/puppeteer/puppeteer/issues/6257))
### [`v5.2.1`](https://togithub.com/puppeteer/puppeteer/releases/v5.2.1)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.2.0...v5.2.1)
#### Highlights
- Chromium 85.0.4182.0 (r782078)
- We now allow configuring the browser debug logging behavior via `globalThis.__PUPPETEER_DEBUG` ([#6210](https://togithub.com/puppeteer/puppeteer/issues/6210))
#### Raw notes
[`4ee4649`](https://togithub.com/puppeteer/puppeteer/commit/4ee4649d) - chore: mark v5.2.1 ([#6254](https://togithub.com/puppeteer/puppeteer/issues/6254))
[`e89e264`](https://togithub.com/puppeteer/puppeteer/commit/e89e264a) - feat(chromium): roll Chromium to r782078 ([#6250](https://togithub.com/puppeteer/puppeteer/issues/6250))
[`b2f6918`](https://togithub.com/puppeteer/puppeteer/commit/b2f69183) - fix: configure debug logging in browser ([#6210](https://togithub.com/puppeteer/puppeteer/issues/6210))
[`040f37e`](https://togithub.com/puppeteer/puppeteer/commit/040f37ec) - docs: fix link text ([#6245](https://togithub.com/puppeteer/puppeteer/issues/6245))
[`9fdf2ba`](https://togithub.com/puppeteer/puppeteer/commit/9fdf2ba2) - chore(docs): migrate page.pdf() docs ([#6228](https://togithub.com/puppeteer/puppeteer/issues/6228))
[`2331584`](https://togithub.com/puppeteer/puppeteer/commit/23315844) - docs(troubleshooting): install libXss in Dockerfile ([#6236](https://togithub.com/puppeteer/puppeteer/issues/6236))
[`042c4a2`](https://togithub.com/puppeteer/puppeteer/commit/042c4a23) - chore: mark 5.2.0-post ([#6240](https://togithub.com/puppeteer/puppeteer/issues/6240))
### [`v5.2.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.2.0)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.1.0...v5.2.0)
#### Feature changes
The experimental API for registering custom query handlers is slightly changed such that one registers query handlers containing two strategies: one for querying a single element and one for querying all matching elements.
The API for custom query handlers is unchanged:
```ts
__experimental_registerCustomQueryHandler(name: string, queryHandler: QueryHandler): void;
__experimental_unregisterCustomQueryHandler(name: string): void;
__experimental_customQueryHandlers(): Map;
__experimental_clearQueryHandlers(): void;
```
but QueryHandler is now defined as:
```ts
export interface QueryHandler {
queryOne?: (element: Element | Document, selector: string) => Element | null;
queryAll?: (element: Element | Document, selector: string) => Element[] | NodeListOf;
}
```
#### Bug fixes and improvements
- The ESM build now includes file extensions in its import statements to match the ESM spec. _Note that the ESM build is still considered experimental and should not be relied on._
- The docs on running Firefox Nightly are now much clearer.
- We now vendor in common dependencies such as Mitt so they can be used more easily outside of the Node module resolution ecosystem.
#### Raw notes
[`028f144`](https://togithub.com/puppeteer/puppeteer/commit/028f1442) - chore: mark v5.2.0 ([#6238](https://togithub.com/puppeteer/puppeteer/issues/6238))
[`313774c`](https://togithub.com/puppeteer/puppeteer/commit/313774c5) - feat: change QueryHandler to contain QueryOne and QueryAll methods ([#6218](https://togithub.com/puppeteer/puppeteer/issues/6218))
[`82645e8`](https://togithub.com/puppeteer/puppeteer/commit/82645e85) - docs: better describe how to install Firefox Nightly with Puppeteer ([#6226](https://togithub.com/puppeteer/puppeteer/issues/6226))
[`f1a6b8d`](https://togithub.com/puppeteer/puppeteer/commit/f1a6b8d6) - chore: vendor Mitt & update project structure ([#6209](https://togithub.com/puppeteer/puppeteer/issues/6209))
[`fb80610`](https://togithub.com/puppeteer/puppeteer/commit/fb806109) - docs(troubleshooting): drops obsolete dependencies ([#5354](https://togithub.com/puppeteer/puppeteer/issues/5354))
[`3effcaf`](https://togithub.com/puppeteer/puppeteer/commit/3effcafc) - chore: generate docs for the protocol ([#6213](https://togithub.com/puppeteer/puppeteer/issues/6213))
[`ffec247`](https://togithub.com/puppeteer/puppeteer/commit/ffec2475) - chore: enforce file extensions on imports ([#6202](https://togithub.com/puppeteer/puppeteer/issues/6202))
[`8d6e0d8`](https://togithub.com/puppeteer/puppeteer/commit/8d6e0d8a) - chore: mark version to v5.1.0-post ([#6208](https://togithub.com/puppeteer/puppeteer/issues/6208))
### [`v5.1.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.1.0)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.0.0...v5.1.0)
#### Highlights:
The new [`Mouse#wheel`](https://togithub.com/puppeteer/puppeteer/blob/main/docs/api.md#mousewheeloptions) API has been merged in [#6141](https://togithub.com/puppeteer/puppeteer/issues/6141). It behaves similar to other mouse commands like up or down and therefore requires a `mouse.move(x, y)` for targeting the element properly.
#### Raw notes:
[`91c13d2`](https://togithub.com/puppeteer/puppeteer/commit/91c13d2) - chore: mark version v5.1.0
[`790c277`](https://togithub.com/puppeteer/puppeteer/commit/790c277) - feat(chromium): roll Chromium to r768783 ([#6201](https://togithub.com/puppeteer/puppeteer/issues/6201))
[`9b3005c`](https://togithub.com/puppeteer/puppeteer/commit/9b3005c) - feat(types): improve page.evaluate types ([#6193](https://togithub.com/puppeteer/puppeteer/issues/6193))
[`31309b0`](https://togithub.com/puppeteer/puppeteer/commit/31309b0) - chore: use devtools-protocol package ([#6172](https://togithub.com/puppeteer/puppeteer/issues/6172))
[`f666be3`](https://togithub.com/puppeteer/puppeteer/commit/f666be3) - chore: remove src/api.ts ([#6191](https://togithub.com/puppeteer/puppeteer/issues/6191))
[`03a87e8`](https://togithub.com/puppeteer/puppeteer/commit/03a87e8) - chore(docs): tidy Puppeteer class docs ([#6181](https://togithub.com/puppeteer/puppeteer/issues/6181))
[`24cb6a2`](https://togithub.com/puppeteer/puppeteer/commit/24cb6a2) - chore(docs): document Frame class ([#6188](https://togithub.com/puppeteer/puppeteer/issues/6188))
[`b9667f9`](https://togithub.com/puppeteer/puppeteer/commit/b9667f9) - chore: document browser install breakage on Node 14.0.0 ([#6187](https://togithub.com/puppeteer/puppeteer/issues/6187))
[`1243466`](https://togithub.com/puppeteer/puppeteer/commit/1243466) - chore: remove `installAsyncStackHooks` helper ([#6186](https://togithub.com/puppeteer/puppeteer/issues/6186))
[`19f188a`](https://togithub.com/puppeteer/puppeteer/commit/19f188a) - chore: forbid importing src/common/Events.ts ([#6183](https://togithub.com/puppeteer/puppeteer/issues/6183))
[`0e93880`](https://togithub.com/puppeteer/puppeteer/commit/0e93880) - chore(docs): migrate Connection + CDP event defs ([#6180](https://togithub.com/puppeteer/puppeteer/issues/6180))
[`74cb2ce`](https://togithub.com/puppeteer/puppeteer/commit/74cb2ce) - chore: migrate FrameManager events from Events.ts ([#6179](https://togithub.com/puppeteer/puppeteer/issues/6179))
[`6ee7139`](https://togithub.com/puppeteer/puppeteer/commit/6ee7139) - chore(docs): fix incorrect `@returns` on getter ([#6175](https://togithub.com/puppeteer/puppeteer/issues/6175))
[`12ee70f`](https://togithub.com/puppeteer/puppeteer/commit/12ee70f) - chore: migrate NetworkManager events ([#6174](https://togithub.com/puppeteer/puppeteer/issues/6174))
[`022495b`](https://togithub.com/puppeteer/puppeteer/commit/022495b) - chore: fix broken link in docs to DeviceDescriptors ([#6170](https://togithub.com/puppeteer/puppeteer/issues/6170))
[`2256b8d`](https://togithub.com/puppeteer/puppeteer/commit/2256b8d) - chore(docs): migrate `BrowserContext` events ([#6168](https://togithub.com/puppeteer/puppeteer/issues/6168))
[`e2e0502`](https://togithub.com/puppeteer/puppeteer/commit/e2e0502) - chore(docs): fix DOMWorld doc warnings ([#6166](https://togithub.com/puppeteer/puppeteer/issues/6166))
[`782c1d4`](https://togithub.com/puppeteer/puppeteer/commit/782c1d4) - chore(docs): define events enum for `Browser` ([#6165](https://togithub.com/puppeteer/puppeteer/issues/6165))
[`ba7624a`](https://togithub.com/puppeteer/puppeteer/commit/ba7624a) - chore(docs): migrate & document all Page events ([#6154](https://togithub.com/puppeteer/puppeteer/issues/6154))
[`e67a860`](https://togithub.com/puppeteer/puppeteer/commit/e67a860) - feat: add Mouse#wheel ([#6141](https://togithub.com/puppeteer/puppeteer/issues/6141))
[`5049b83`](https://togithub.com/puppeteer/puppeteer/commit/5049b83) - feat(types): add types for `page.$eval` ([#6139](https://togithub.com/puppeteer/puppeteer/issues/6139))
[`f7857d2`](https://togithub.com/puppeteer/puppeteer/commit/f7857d2) - chore(docs): document HTTPRequest with TSDoc ([#6146](https://togithub.com/puppeteer/puppeteer/issues/6146))
[`4ebf117`](https://togithub.com/puppeteer/puppeteer/commit/4ebf117) - docs: migrating Page.ts to TSDoc ([#6152](https://togithub.com/puppeteer/puppeteer/issues/6152))
[`d9bb52e`](https://togithub.com/puppeteer/puppeteer/commit/d9bb52e) - docs: fix sandboxing documentation link ([#5288](https://togithub.com/puppeteer/puppeteer/issues/5288))
[`aee8fda`](https://togithub.com/puppeteer/puppeteer/commit/aee8fda) - fix: make Node.js environment detection robust w.r.t. JSDOM ([#6148](https://togithub.com/puppeteer/puppeteer/issues/6148))
[`054fa2e`](https://togithub.com/puppeteer/puppeteer/commit/054fa2e) - chore(docs): fix more documentation warnings ([#6145](https://togithub.com/puppeteer/puppeteer/issues/6145))
[`928924e`](https://togithub.com/puppeteer/puppeteer/commit/928924e) - chore: mark v5.0.0-post ([#6144](https://togithub.com/puppeteer/puppeteer/issues/6144))
### [`v5.0.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.0.0)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v4.0.1...v5.0.0)
#### Breaking changes
##### Removal of `page.emulateMedia` ([#6084](https://togithub.com/puppeteer/puppeteer/issues/6084))
This method was deprecated and is now removed from Puppeteer. Swap to `page.emulateMediaType` which behaves identically.
##### Removal of `require('puppeteer/DeviceDescriptors')` ([#6043](https://togithub.com/puppeteer/puppeteer/issues/6043))
This top level file has been removed from the Puppeteer package. The same data is exposed via `puppeteer.devices`, so swap to that:
```js
// before
const devices = require('puppeteer/DeviceDescriptors');
// after
const puppeteer = require('puppeteer');
const devices = puppeteer.devices
```
##### Removal of `require('puppeteer/Errors')` ([#6043](https://togithub.com/puppeteer/puppeteer/issues/6043))
This top level file has been removed from the Puppeteer package. The same data is exposed via `puppeteer.errors`, so swap to that:
```js
// before
const errors = require('puppeteer/Errors');
// after
const puppeteer = require('puppeteer');
const errors = puppeteer.errors
```
#### Behind the scenes
- We've continued our drive to migrate to a new documentation system using TSDoc. These docs are available in the [`new-docs`](https://togithub.com/puppeteer/puppeteer/blob/main/new-docs/puppeteer.md) directory on GitHub. These aren't ready for use just yet but we're making great progress. You can track this work in [#6118](https://togithub.com/puppeteer/puppeteer/issues/6118).
- We've continued improving our TypeScript definitions. Our tests are now migrated to TypeScript ([#5830](https://togithub.com/puppeteer/puppeteer/issues/5830)) so that we're consuming our own API. Work continues to ship built-in type definitions in a future version. You can track this work in [#6124](https://togithub.com/puppeteer/puppeteer/issues/6124).
- We've started restructuring Puppeteer to work towards being able to better support an environment agnostic Puppeteer module. You can track this work in [#6125](https://togithub.com/puppeteer/puppeteer/issues/6125).
#### Raw notes
[`85d8dbf`](https://togithub.com/puppeteer/puppeteer/commit/85d8dbf) - chore: mark v5.0.0
[`29f7e16`](https://togithub.com/puppeteer/puppeteer/commit/29f7e16) - chore(docs): reduce warnings when generating docs ([#6138](https://togithub.com/puppeteer/puppeteer/issues/6138))
[`221d172`](https://togithub.com/puppeteer/puppeteer/commit/221d172) - chore: add typecheck command ([#6140](https://togithub.com/puppeteer/puppeteer/issues/6140))
[`6474edb`](https://togithub.com/puppeteer/puppeteer/commit/6474edb) - feat(types): add types for `$eval` ([#6135](https://togithub.com/puppeteer/puppeteer/issues/6135))
[`8370ec8`](https://togithub.com/puppeteer/puppeteer/commit/8370ec8) - feat(types): add (and fix) `evaluateHandle` types ([#6130](https://togithub.com/puppeteer/puppeteer/issues/6130))
[`3c0dc45`](https://togithub.com/puppeteer/puppeteer/commit/3c0dc45) - chore: update Windows skipped tests. ([#6133](https://togithub.com/puppeteer/puppeteer/issues/6133))
[`9f19862`](https://togithub.com/puppeteer/puppeteer/commit/9f19862) - chore(docs): mark JSHandle properties as internal ([#6126](https://togithub.com/puppeteer/puppeteer/issues/6126))
[`8026ca9`](https://togithub.com/puppeteer/puppeteer/commit/8026ca9) - docs(api): fix overview diagram for pptr.dev ([#6128](https://togithub.com/puppeteer/puppeteer/issues/6128))
[`9d79cc8`](https://togithub.com/puppeteer/puppeteer/commit/9d79cc8) - chore: fix Firefox install checker ([#6129](https://togithub.com/puppeteer/puppeteer/issues/6129))
[`1f5e333`](https://togithub.com/puppeteer/puppeteer/commit/1f5e333) - chore: Don't store revisions in `package.json` ([#6109](https://togithub.com/puppeteer/puppeteer/issues/6109))
[`123c377`](https://togithub.com/puppeteer/puppeteer/commit/123c377) - docs(new): Add TSDoc to Coverage class ([#6106](https://togithub.com/puppeteer/puppeteer/issues/6106))
[`3760302`](https://togithub.com/puppeteer/puppeteer/commit/3760302) - docs(api): fix broken links in api.md ([#6113](https://togithub.com/puppeteer/puppeteer/issues/6113))
[`adeffba`](https://togithub.com/puppeteer/puppeteer/commit/adeffba) - docs(new): migrate Page.ts to TSDoc (part 0 / 2) ([#6104](https://togithub.com/puppeteer/puppeteer/issues/6104))
[`df96f16`](https://togithub.com/puppeteer/puppeteer/commit/df96f16) - docs(new): migrate JSHandle docs to TSDoc ([#6102](https://togithub.com/puppeteer/puppeteer/issues/6102))
[`1c0009d`](https://togithub.com/puppeteer/puppeteer/commit/1c0009d) - chore(agnostic): ship CJS and ESM builds ([#6095](https://togithub.com/puppeteer/puppeteer/issues/6095))
[`46fc6ca`](https://togithub.com/puppeteer/puppeteer/commit/46fc6ca) - feat(types): improve typing of `.evaluate()` ([#6096](https://togithub.com/puppeteer/puppeteer/issues/6096))
[`a4d12a2`](https://togithub.com/puppeteer/puppeteer/commit/a4d12a2) - chore: remove `helper.promisify` ([#6100](https://togithub.com/puppeteer/puppeteer/issues/6100))
[`5b6d2bf`](https://togithub.com/puppeteer/puppeteer/commit/5b6d2bf) - docs(new): add TSDoc comments to Keyboard ([#6099](https://togithub.com/puppeteer/puppeteer/issues/6099))
[`4696f7a`](https://togithub.com/puppeteer/puppeteer/commit/4696f7a) - docs(new): migrate HTTPResponse docs to TSDoc ([#6085](https://togithub.com/puppeteer/puppeteer/issues/6085))
[`b993adb`](https://togithub.com/puppeteer/puppeteer/commit/b993adb) - chore(agnostic): Migrate DOMWorld ([#6054](https://togithub.com/puppeteer/puppeteer/issues/6054))
[`c149034`](https://togithub.com/puppeteer/puppeteer/commit/c149034) - chore: remove hardcoded `?hl=en` from docs ([#6097](https://togithub.com/puppeteer/puppeteer/issues/6097))
[`48c5a8e`](https://togithub.com/puppeteer/puppeteer/commit/48c5a8e) - docs(new): add TSDoc comments to Puppeteer ([#6032](https://togithub.com/puppeteer/puppeteer/issues/6032)) ([#6094](https://togithub.com/puppeteer/puppeteer/issues/6094))
[`f1f7339`](https://togithub.com/puppeteer/puppeteer/commit/f1f7339) - docs(new): add TSDoc comments to Puppeteer ([#6032](https://togithub.com/puppeteer/puppeteer/issues/6032))
[`a46c78f`](https://togithub.com/puppeteer/puppeteer/commit/a46c78f) - docs(new): Adds TSDoc to Tracing class ([#6088](https://togithub.com/puppeteer/puppeteer/issues/6088))
[`60904da`](https://togithub.com/puppeteer/puppeteer/commit/60904da) - docs(new): migrate FileChooser docs to TSDoc ([#6092](https://togithub.com/puppeteer/puppeteer/issues/6092))
[`7855519`](https://togithub.com/puppeteer/puppeteer/commit/7855519) - chore: tidy up TODO from TS tests migration ([#6090](https://togithub.com/puppeteer/puppeteer/issues/6090))
[`f481922`](https://togithub.com/puppeteer/puppeteer/commit/f481922) - docs(new): Adds TSDoc to Mouse class ([#6086](https://togithub.com/puppeteer/puppeteer/issues/6086))
[`2ad42dc`](https://togithub.com/puppeteer/puppeteer/commit/2ad42dc) - docs(new): migrate Touchscreen docs to TSDoc ([#6087](https://togithub.com/puppeteer/puppeteer/issues/6087))
[`73b9795`](https://togithub.com/puppeteer/puppeteer/commit/73b9795) - docs(new): add TSDoc comments to BrowserFetcher ([#6078](https://togithub.com/puppeteer/puppeteer/issues/6078))
[`37f6032`](https://togithub.com/puppeteer/puppeteer/commit/37f6032) - feat(api): remove `emulateMedia` method ([#6084](https://togithub.com/puppeteer/puppeteer/issues/6084))
[`1ee379c`](https://togithub.com/puppeteer/puppeteer/commit/1ee379c) - chore: avoid disabling prettier ([#6079](https://togithub.com/puppeteer/puppeteer/issues/6079))
[`381b0f8`](https://togithub.com/puppeteer/puppeteer/commit/381b0f8) - chore: declare `toBeGolden` to TypeScript ([#6080](https://togithub.com/puppeteer/puppeteer/issues/6080))
[`70a900e`](https://togithub.com/puppeteer/puppeteer/commit/70a900e) - chore: fix ESLint violation and lessen rule strictness ([#6081](https://togithub.com/puppeteer/puppeteer/issues/6081))
[`fdc6fda`](https://togithub.com/puppeteer/puppeteer/commit/fdc6fda) - docs: fix effect -> affect typos ([#5985](https://togithub.com/puppeteer/puppeteer/issues/5985))
[`4659ee8`](https://togithub.com/puppeteer/puppeteer/commit/4659ee8) - docs(new): add TSDoc comments to BrowserContext ([#6066](https://togithub.com/puppeteer/puppeteer/issues/6066))
[`ccae546`](https://togithub.com/puppeteer/puppeteer/commit/ccae546) - docs(new): migrate Browser docs to TSDoc ([#6070](https://togithub.com/puppeteer/puppeteer/issues/6070))
[`28797de`](https://togithub.com/puppeteer/puppeteer/commit/28797de) - chore: migrate tests to TypeScript ([#6075](https://togithub.com/puppeteer/puppeteer/issues/6075))
[`2090676`](https://togithub.com/puppeteer/puppeteer/commit/2090676) - docs: fix broken link to DeviceDescriptors.ts ([#6076](https://togithub.com/puppeteer/puppeteer/issues/6076))
[`6657364`](https://togithub.com/puppeteer/puppeteer/commit/6657364) - docs(new): migrate ElementHandle to TSDoc ([#6073](https://togithub.com/puppeteer/puppeteer/issues/6073))
[`7025f1c`](https://togithub.com/puppeteer/puppeteer/commit/7025f1c) - docs(new): migrate Target to TSDoc ([#6067](https://togithub.com/puppeteer/puppeteer/issues/6067))
[`819afbe`](https://togithub.com/puppeteer/puppeteer/commit/819afbe) - docs(new): migrate ConsoleMessage docs to TSDoc ([#6065](https://togithub.com/puppeteer/puppeteer/issues/6065))
[`983a7b6`](https://togithub.com/puppeteer/puppeteer/commit/983a7b6) - docs(new): migrate CDPSession to TSDoc ([#6064](https://togithub.com/puppeteer/puppeteer/issues/6064))
[`1cf3f06`](https://togithub.com/puppeteer/puppeteer/commit/1cf3f06) - docs(new): migrate TimeoutError to TSDoc ([#6062](https://togithub.com/puppeteer/puppeteer/issues/6062))
[`ace31d6`](https://togithub.com/puppeteer/puppeteer/commit/ace31d6) - chore: pin TSDoc related dependencies ([#6063](https://togithub.com/puppeteer/puppeteer/issues/6063))
[`750f5ee`](https://togithub.com/puppeteer/puppeteer/commit/750f5ee) - docs: fix broken link to USKeyboardLayout file ([#6059](https://togithub.com/puppeteer/puppeteer/issues/6059))
[`e7b91a7`](https://togithub.com/puppeteer/puppeteer/commit/e7b91a7) - chore: enforce a max line length on comments ([#6055](https://togithub.com/puppeteer/puppeteer/issues/6055))
[`7978315`](https://togithub.com/puppeteer/puppeteer/commit/7978315) - docs(new): migrate SecurityDetails docs to TSDoc ([#6053](https://togithub.com/puppeteer/puppeteer/issues/6053))
[`7a4170f`](https://togithub.com/puppeteer/puppeteer/commit/7a4170f) - chore: remove top level errors and DeviceDescriptors ([#6043](https://togithub.com/puppeteer/puppeteer/issues/6043))
[`5ff698e`](https://togithub.com/puppeteer/puppeteer/commit/5ff698e) - chore: move `index.js` into `src` and TS-ify ([#6049](https://togithub.com/puppeteer/puppeteer/issues/6049))
[`940a570`](https://togithub.com/puppeteer/puppeteer/commit/940a570) - chore: exclude api.ts from dependency graph ([#6052](https://togithub.com/puppeteer/puppeteer/issues/6052))
[`759b280`](https://togithub.com/puppeteer/puppeteer/commit/759b280) - chore: upgrade to Mocha v8 ([#5997](https://togithub.com/puppeteer/puppeteer/issues/5997))
[`9522f80`](https://togithub.com/puppeteer/puppeteer/commit/9522f80) - chore: create `common` directory ([#6042](https://togithub.com/puppeteer/puppeteer/issues/6042))
[`f6af7b8`](https://togithub.com/puppeteer/puppeteer/commit/f6af7b8) - chore: fix dependency chart generation ([#6039](https://togithub.com/puppeteer/puppeteer/issues/6039))
[`90b0934`](https://togithub.com/puppeteer/puppeteer/commit/90b0934) - chore: create `node` directory for Node-only files ([#6041](https://togithub.com/puppeteer/puppeteer/issues/6041))
[`ce34c0a`](https://togithub.com/puppeteer/puppeteer/commit/ce34c0a) - fix: `page.goto` options type should be optional ([#6038](https://togithub.com/puppeteer/puppeteer/issues/6038))
[`44402b7`](https://togithub.com/puppeteer/puppeteer/commit/44402b7) - feat(new-docs): add tsdoc comments to `WebWorker` ([#6029](https://togithub.com/puppeteer/puppeteer/issues/6029))
[`64c9c70`](https://togithub.com/puppeteer/puppeteer/commit/64c9c70) - chore: add dependency chart generation as script ([#6034](https://togithub.com/puppeteer/puppeteer/issues/6034))
[`547f4ea`](https://togithub.com/puppeteer/puppeteer/commit/547f4ea) - chore: create new debug module ([#6028](https://togithub.com/puppeteer/puppeteer/issues/6028))
[`56742eb`](https://togithub.com/puppeteer/puppeteer/commit/56742eb) - chore: bump version to v4.0.0-post ([#6024](https://togithub.com/puppeteer/puppeteer/issues/6024))
[`e4de5f1`](https://togithub.com/puppeteer/puppeteer/commit/e4de5f1) - chore: move `assert` into its own module ([#6021](https://togithub.com/puppeteer/puppeteer/issues/6021))
[`f1ec6a3`](https://togithub.com/puppeteer/puppeteer/commit/f1ec6a3) - chore: update references to branch names ([#6022](https://togithub.com/puppeteer/puppeteer/issues/6022))
### [`v4.0.1`](https://togithub.com/puppeteer/puppeteer/releases/v4.0.1)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v4.0.0...v4.0.1)
#### Bug fixes
- The link the troubleshooting docs is now fixed and links to the `main` branch, not the removed `master` branch. Fixes [#6082](https://togithub.com/puppeteer/puppeteer/issues/6082).
#### Raw notes
[`16972ca`](https://togithub.com/puppeteer/puppeteer/commit/16972ca) - pull in master => main renaming
[`b537a67`](https://togithub.com/puppeteer/puppeteer/commit/b537a67) - chore: mark v4.0.1
### [`v4.0.0`](https://togithub.com/puppeteer/puppeteer/releases/v4.0.0)
[Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v3.3.0...v4.0.0)
#### Breaking change: Puppeteer no longer uses Node’s EventEmitter library
As part of our work to make Puppeteer agnostic of its environment we are removing the dependency on Node’s EventEmitter in favour of an event emitter that is not tied to Node. Under the hood we use Mitt, but we extend Mitt with additional functionality to match most of the methods that Node’s EventEmitter provides. The following methods have been removed from Puppeteer classes that extend EventEmitter:
- `eventNames()`
- `getMaxListeners()`
- `listeners(eventName)`
- `prependListener`
- `prependOnceListener`
- `setMaxListeners(n)`
- `rawListeners(eventName)`
Additionally all the static methods on the EventEmitter class are not supported:
- `listenerCount(emitter, eventName)`
- `defaultMaxListeners`
- `errorMonitor`
Node’s EventEmitter emitted a `newListener` event when a listener was added and a `removeListener` event when one was removed. These are not supported and will not be emitted.
#### New features and improvements
- Send/receive debug logs are now split out into separate channels making the logs much clearer ([#6017](https://togithub.com/puppeteer/puppeteer/issues/6017))
- You can now call `isJavaScriptEnabled()` on a Puppeteer `page` to find out if JS is enabled on the page ([#5993](https://togithub.com/puppeteer/puppeteer/issues/5993))
#### Bug fixes
- Puppeteer is now much better at killing lingering browser processes, especially when you exit a test run with `Ctrl-C` ([#6011](https://togithub.com/puppeteer/puppeteer/issues/6011))
#### Behind the scenes
- We've started work on a new documentation system that uses TSDoc to generate documentation from our source code and have been porting documentation into code accordingly.
#### Raw notes
[`5493494`](https://togithub.com/puppeteer/puppeteer/commit/5493494) - chore: mark version 4.0.0
[`03ab1c1`](https://togithub.com/puppeteer/puppeteer/commit/03ab1c1) - fix: improve Ctrl + C support ([#6011](https://togithub.com/puppeteer/puppeteer/issues/6011))
[`b659969`](https://togithub.com/puppeteer/puppeteer/commit/b659969) - chore: migrate away from Node's EventEmitter ([#5979](https://togithub.com/puppeteer/puppeteer/issues/5979))
[`6e060ce`](https://togithub.com/puppeteer/puppeteer/commit/6e060ce) - fix(connection): separate send/receive debug logging ([#6017](https://togithub.com/puppeteer/p
Configuration
📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/London.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
^1.18.1
->^9.0.0
:information_source: Find our documentation at https://github.com/Financial-Times/next/wiki/Renovate.
Release Notes
puppeteer/puppeteer
### [`v9.1.1`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#911-httpsgithubcompuppeteerpuppeteercomparev910v911-2021-05-05) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v9.1.0...v9.1.1) ### [`v9.1.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#910-httpsgithubcompuppeteerpuppeteercomparev900v910-2021-05-03) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v9.0.0...v9.1.0) ##### Features - add option to filter targets ([#7192](https://togithub.com/puppeteer/puppeteer/issues/7192)) ([ec3fc2e](https://togithub.com/puppeteer/puppeteer/commit/ec3fc2e035bb5ca14a576180fff612e1ecf6bad7)) ##### Bug Fixes - change rm -rf to rimraf ([#7168](https://togithub.com/puppeteer/puppeteer/issues/7168)) ([ad6b736](https://togithub.com/puppeteer/puppeteer/commit/ad6b736039436fcc5c0a262e5b575aa041427be3)) ### [`v9.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#900-httpsgithubcompuppeteerpuppeteercomparev800v900-2021-04-21) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v8.0.0...v9.0.0) ##### ⚠ BREAKING CHANGES - **filechooser:** FileChooser.cancel() is now synchronous. ##### Features - **chromium:** roll to Chromium 91.0.4469.0 (r869685) ([#7110](https://togithub.com/puppeteer/puppeteer/issues/7110)) ([715e7a8](https://togithub.com/puppeteer/puppeteer/commit/715e7a8d62901d1c7ec602425c2fce8d8148b742)) - **launcher:** fix installation error on Apple M1 chips ([#7099](https://togithub.com/puppeteer/puppeteer/issues/7099)) ([c239d9e](https://togithub.com/puppeteer/puppeteer/commit/c239d9edc72d85697b4875c98fff3ec592848082)), closes [#6622](https://togithub.com/puppeteer/puppeteer/issues/6622) - **network:** request interception and caching compatibility ([#6996](https://togithub.com/puppeteer/puppeteer/issues/6996)) ([8695759](https://togithub.com/puppeteer/puppeteer/commit/8695759a223bc1bd31baecb00dc28721216e4c6f)) - **page:** emit the event after removing the Worker ([#7080](https://togithub.com/puppeteer/puppeteer/issues/7080)) ([e34a6d5](https://togithub.com/puppeteer/puppeteer/commit/e34a6d53183c3e1f63a375ba6a26bee0dcfcf542)) - **types:** improve type of predicate function ([#6997](https://togithub.com/puppeteer/puppeteer/issues/6997)) ([943477c](https://togithub.com/puppeteer/puppeteer/commit/943477cc1eb4b129870142873b3554737d5ef252)), closes [/github.com/DefinitelyTyped/DefinitelyTyped/blob/c43191a8f7a7d2a47bbff0bc3a7d95ecc64d2269/types/puppeteer/index.d.ts#L1883-L1885](https://togithub.com/puppeteer//github.com/DefinitelyTyped/DefinitelyTyped/blob/c43191a8f7a7d2a47bbff0bc3a7d95ecc64d2269/types/puppeteer/index.d.ts/issues/L1883-L1885) - accept captureBeyondViewport as optional screenshot param ([#7063](https://togithub.com/puppeteer/puppeteer/issues/7063)) ([0e092d2](https://togithub.com/puppeteer/puppeteer/commit/0e092d2ea0ec18ad7f07ad3507deb80f96086e7a)) - **page:** add omitBackground option for page.pdf method ([#6981](https://togithub.com/puppeteer/puppeteer/issues/6981)) ([dc8ab6d](https://togithub.com/puppeteer/puppeteer/commit/dc8ab6d8ca1661f8e56d329e6d9c49c891e8b975)) ##### Bug Fixes - **aria:** fix parsing of ARIA selectors ([#7037](https://togithub.com/puppeteer/puppeteer/issues/7037)) ([4426135](https://togithub.com/puppeteer/puppeteer/commit/4426135692ae3ee7ed2841569dd9375e7ca8286c)) - **page:** fix mouse.click method ([#7097](https://togithub.com/puppeteer/puppeteer/issues/7097)) ([ba7c367](https://togithub.com/puppeteer/puppeteer/commit/ba7c367de33ace7753fd9d8b8cc894b2c14ab6c2)), closes [#6462](https://togithub.com/puppeteer/puppeteer/issues/6462) [#3347](https://togithub.com/puppeteer/puppeteer/issues/3347) - make `[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [puppeteer](https://togithub.com/puppeteer/puppeteer) | [`^1.18.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/puppeteer/1.20.0/9.1.1) | [![age](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/compatibility-slim/1.20.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/puppeteer/9.1.1/confidence-slim/1.20.0)](https://docs.renovatebot.com/merge-confidence/) | :information_source: Find our documentation at https://github.com/Financial-Times/next/wiki/Renovate. --- and `$` selectors generic ([#6883](https://togithub.com/puppeteer/puppeteer/issues/6883)) ([b349c91](https://togithub.com/puppeteer/puppeteer/commit/b349c91e7df76630b7411d6645e649945c4609bd)) - type page event listeners correctly ([#6891](https://togithub.com/puppeteer/puppeteer/issues/6891)) ([866d34e](https://togithub.com/puppeteer/puppeteer/commit/866d34ee1122e89eab00743246676845bb065968)) - **typescript:** allow defaultViewport to be 'null' ([#6942](https://togithub.com/puppeteer/puppeteer/issues/6942)) ([e31e68d](https://togithub.com/puppeteer/puppeteer/commit/e31e68dfa12dd50482b700472bc98876b9031829)), closes [#6885](https://togithub.com/puppeteer/puppeteer/issues/6885) - make screenshots work in puppeteer-web ([#6936](https://togithub.com/puppeteer/puppeteer/issues/6936)) ([5f24f60](https://togithub.com/puppeteer/puppeteer/commit/5f24f608194fd4252da7b288461427cabc9dabb3)) - **filechooser:** cancel is sync ([#6937](https://togithub.com/puppeteer/puppeteer/issues/6937)) ([2ba61e0](https://togithub.com/puppeteer/puppeteer/commit/2ba61e04e923edaac09c92315212552f2d4ce676)) - **network:** don't disable cache for auth challenge ([#6962](https://togithub.com/puppeteer/puppeteer/issues/6962)) ([1c2479a](https://togithub.com/puppeteer/puppeteer/commit/1c2479a6cd4bd09a577175ffd31c40ca6f4279b8)) ### [`v8.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#800-httpsgithubcompuppeteerpuppeteercomparev710v800-2021-02-26) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.1.0...v8.0.0) ##### ⚠ BREAKING CHANGES - renamed type `ChromeArgOptions` to `BrowserLaunchArgumentOptions` - renamed type `BrowserOptions` to `BrowserConnectOptions` ##### Features - **chromium:** roll Chromium to r856583 ([#6927](https://togithub.com/puppeteer/puppeteer/issues/6927)) ([0c688bd](https://togithub.com/puppeteer/puppeteer/commit/0c688bd75ef1d1fc3afd14cbe8966757ecda68fb)) ##### Bug Fixes - explicit HTTPRequest.resourceType type defs ([#6882](https://togithub.com/puppeteer/puppeteer/issues/6882)) ([ff26c62](https://togithub.com/puppeteer/puppeteer/commit/ff26c62647b60cd0d8d7ea66ee998adaadc3fcc2)), closes [#6854](https://togithub.com/puppeteer/puppeteer/issues/6854) - expose `Viewport` type ([#6881](https://togithub.com/puppeteer/puppeteer/issues/6881)) ([be7c229](https://togithub.com/puppeteer/puppeteer/commit/be7c22933c1dcf5eee797d61463171bd0ef44582)) - improve TS types for launching browsers ([#6888](https://togithub.com/puppeteer/puppeteer/issues/6888)) ([98c8145](https://togithub.com/puppeteer/puppeteer/commit/98c81458c27f378eb66c38e1620e79e2ffde418e)) - move CI npm config out of .npmrc ([#6901](https://togithub.com/puppeteer/puppeteer/issues/6901)) ([f7de60b](https://togithub.com/puppeteer/puppeteer/commit/f7de60be22d9bc6433ada7bfefeaa7f6f6f62047)) ### [`v7.1.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#710-httpsgithubcompuppeteerpuppeteercomparev704v710-2021-02-12) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.4...v7.1.0) ##### Features - **page:** add color-gamut support to Page.emulateMediaFeatures ([#6857](https://togithub.com/puppeteer/puppeteer/issues/6857)) ([ad59357](https://togithub.com/puppeteer/puppeteer/commit/ad5935738d869cfce386a0d28b4bc6131457f962)), closes [#6761](https://togithub.com/puppeteer/puppeteer/issues/6761) ##### Bug Fixes - add favicon test asset ([#6868](https://togithub.com/puppeteer/puppeteer/issues/6868)) ([a63f53c](https://togithub.com/puppeteer/puppeteer/commit/a63f53c9380545550503f5539494c72c607e19ac)) - expose `ScreenshotOptions` type in type defs ([#6869](https://togithub.com/puppeteer/puppeteer/issues/6869)) ([63d48b2](https://togithub.com/puppeteer/puppeteer/commit/63d48b2ecba317b6c0a3acad87a7a3671c769dbc)), closes [#6866](https://togithub.com/puppeteer/puppeteer/issues/6866) - expose puppeteer.Permission type ([#6856](https://togithub.com/puppeteer/puppeteer/issues/6856)) ([a5e174f](https://togithub.com/puppeteer/puppeteer/commit/a5e174f696eb192c541db64a603ea5cdf385a643)) - jsonValue() type is generic ([#6865](https://togithub.com/puppeteer/puppeteer/issues/6865)) ([bdaba78](https://togithub.com/puppeteer/puppeteer/commit/bdaba7829da366aabbc81885d84bb2401ab3eaff)) - wider compat TS types and CI checks to ensure correct type defs ([#6855](https://togithub.com/puppeteer/puppeteer/issues/6855)) ([6a0eb78](https://togithub.com/puppeteer/puppeteer/commit/6a0eb7841fd82493903b0b9fa153d2de181350eb)) ##### [7.0.4](https://togithub.com/puppeteer/puppeteer/compare/v7.0.3...v7.0.4) (2021-02-09) ##### Bug Fixes - make publish bot run full build, not just tsc ([#6848](https://togithub.com/puppeteer/puppeteer/issues/6848)) ([f718b14](https://togithub.com/puppeteer/puppeteer/commit/f718b14b64df8be492d344ddd35e40961ff750c5)) ##### [7.0.3](https://togithub.com/puppeteer/puppeteer/compare/v7.0.2...v7.0.3) (2021-02-09) ##### Bug Fixes - include lib/types.d.ts in files list ([#6844](https://togithub.com/puppeteer/puppeteer/issues/6844)) ([e34f317](https://togithub.com/puppeteer/puppeteer/commit/e34f317b37533256a063c1238609b488d263b998)) ##### [7.0.2](https://togithub.com/puppeteer/puppeteer/compare/v7.0.1...v7.0.2) (2021-02-09) ##### Bug Fixes - much better TypeScript definitions ([#6837](https://togithub.com/puppeteer/puppeteer/issues/6837)) ([f1b46ab](https://togithub.com/puppeteer/puppeteer/commit/f1b46ab5faa262f893c17923579d0cf52268a764)) - **domworld:** reset bindings when context changes ([#6766](https://togithub.com/puppeteer/puppeteer/issues/6766)) ([#6836](https://togithub.com/puppeteer/puppeteer/issues/6836)) ([4e8d074](https://togithub.com/puppeteer/puppeteer/commit/4e8d074c2f8384a2f283f5edf9ef69c40bd8464f)) - **launcher:** output correct error message for browser ([#6815](https://togithub.com/puppeteer/puppeteer/issues/6815)) ([6c61874](https://togithub.com/puppeteer/puppeteer/commit/6c618747979c3a08f2727e9e22fe45cade8c926a)) ##### [7.0.1](https://togithub.com/puppeteer/puppeteer/compare/v7.0.0...v7.0.1) (2021-02-04) ##### Bug Fixes - **typescript:** ship .d.ts file in npm package ([#6811](https://togithub.com/puppeteer/puppeteer/issues/6811)) ([a7e3c2e](https://togithub.com/puppeteer/puppeteer/commit/a7e3c2e09e9163eee2f15221aafa4400e6a75f91)) ### [`v7.0.4`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#704-httpsgithubcompuppeteerpuppeteercomparev703v704-2021-02-09) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.3...v7.0.4) ### [`v7.0.3`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#703-httpsgithubcompuppeteerpuppeteercomparev702v703-2021-02-09) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.2...v7.0.3) ### [`v7.0.2`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#702-httpsgithubcompuppeteerpuppeteercomparev701v702-2021-02-09) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.1...v7.0.2) ### [`v7.0.1`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#701-httpsgithubcompuppeteerpuppeteercomparev700v701-2021-02-04) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v7.0.0...v7.0.1) ### [`v7.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#700-httpsgithubcompuppeteerpuppeteercomparev600v700-2021-02-03) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v6.0.0...v7.0.0) ##### ⚠ BREAKING CHANGES - - `page.screenshot` makes a screenshot with the clip dimensions, not cutting it by the ViewPort size. - **chromium:** - `page.screenshot` cuts screenshot content by the ViewPort size, not ViewPort position. ##### Features - use `captureBeyondViewport` in `Page.captureScreenshot` ([#6805](https://togithub.com/puppeteer/puppeteer/issues/6805)) ([401d84e](https://togithub.com/puppeteer/puppeteer/commit/401d84e4a3508f9ca5c24dbfcad2a71571b1b8eb)) - **chromium:** roll Chromium to r848005 ([#6801](https://togithub.com/puppeteer/puppeteer/issues/6801)) ([890d5c2](https://togithub.com/puppeteer/puppeteer/commit/890d5c2e57cdee7d73915a878bda86b72e26b608)) ### [`v6.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#600-httpsgithubcompuppeteerpuppeteercomparev550v600-2021-02-02) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.5.0...v6.0.0) ##### ⚠ BREAKING CHANGES - **chromium:** The built-in `aria/` selector query handler doesn’t return ignored elements anymore. ##### Features - **chromium:** roll Chromium to r843427 ([#6797](https://togithub.com/puppeteer/puppeteer/issues/6797)) ([8f9fbdb](https://togithub.com/puppeteer/puppeteer/commit/8f9fbdbae68254600a9c73ab05f36146c975dba6)), closes [#6758](https://togithub.com/puppeteer/puppeteer/issues/6758) - add page.emulateNetworkConditions ([#6759](https://togithub.com/puppeteer/puppeteer/issues/6759)) ([5ea76e9](https://togithub.com/puppeteer/puppeteer/commit/5ea76e9333c42ab5a751ca01aa5676a662f6c063)) - **types:** expose typedefs to consumers ([#6745](https://togithub.com/puppeteer/puppeteer/issues/6745)) ([ebd087a](https://togithub.com/puppeteer/puppeteer/commit/ebd087a31661a1b701650d0be3e123cc5a813bd8)) - add iPhone 11 models to DeviceDescriptors ([#6467](https://togithub.com/puppeteer/puppeteer/issues/6467)) ([50b810d](https://togithub.com/puppeteer/puppeteer/commit/50b810dab7fae5950ba086295462788f91ff1e6f)) - support fetching and launching on Apple M1 ([9a8479a](https://togithub.com/puppeteer/puppeteer/commit/9a8479a52a7d8b51690b0732b2a10816cd1b8aef)), closes [#6495](https://togithub.com/puppeteer/puppeteer/issues/6495) [#6634](https://togithub.com/puppeteer/puppeteer/issues/6634) [#6641](https://togithub.com/puppeteer/puppeteer/issues/6641) [#6614](https://togithub.com/puppeteer/puppeteer/issues/6614) - support promise as return value for page.waitForResponse predicate ([#6624](https://togithub.com/puppeteer/puppeteer/issues/6624)) ([b57f3fc](https://togithub.com/puppeteer/puppeteer/commit/b57f3fcd5393c68f51d82e670b004f5b116dcbc3)) ##### Bug Fixes - **domworld:** fix waitfor bindings ([#6766](https://togithub.com/puppeteer/puppeteer/issues/6766)) ([#6775](https://togithub.com/puppeteer/puppeteer/issues/6775)) ([cac540b](https://togithub.com/puppeteer/puppeteer/commit/cac540be3ab8799a1d77b0951b16bc22ea1c2adb)) - **launcher:** rename TranslateUI to Translate to match Chrome ([#6692](https://togithub.com/puppeteer/puppeteer/issues/6692)) ([d901696](https://togithub.com/puppeteer/puppeteer/commit/d901696e0d8901bcb23cf676a5e5ac562f821a0d)) - do not use old utility world ([#6528](https://togithub.com/puppeteer/puppeteer/issues/6528)) ([fb85911](https://togithub.com/puppeteer/puppeteer/commit/fb859115c0e2829bae1d1b32edbf642988e2ef76)), closes [#6527](https://togithub.com/puppeteer/puppeteer/issues/6527) - update to https-proxy-agent@^5.0.0 to fix `ERR_INVALID_PROTOCOL` ([#6555](https://togithub.com/puppeteer/puppeteer/issues/6555)) ([3bf5a55](https://togithub.com/puppeteer/puppeteer/commit/3bf5a552890ee80cc4326b1e430424b0fdad4363)) ### [`v5.5.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#550-httpsgithubcompuppeteerpuppeteercomparev541v550-2020-11-16) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.4.1...v5.5.0) ##### Features - **chromium:** roll Chromium to r818858 ([#6526](https://togithub.com/puppeteer/puppeteer/issues/6526)) ([b549256](https://togithub.com/puppeteer/puppeteer/commit/b54925695200cad32f470f8eb407259606447a85)) ##### Bug Fixes - **common:** fix generic type of `_isClosedPromise` ([#6579](https://togithub.com/puppeteer/puppeteer/issues/6579)) ([122f074](https://togithub.com/puppeteer/puppeteer/commit/122f074f92f47a7b9aa08091851e51a07632d23b)) - **domworld:** fix missing binding for waittasks ([#6562](https://togithub.com/puppeteer/puppeteer/issues/6562)) ([67da1cf](https://togithub.com/puppeteer/puppeteer/commit/67da1cf866703f5f581c9cce4923697ac38129ef)) ### [`v5.4.1`](https://togithub.com/puppeteer/puppeteer/releases/v5.4.1) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.4.0...v5.4.1) #### Bug fixes - Fixed an issue in 5.4.0 on Node.js v10.17.0 and below where trying to access `fs.promises` would throw an error. See [#6548](https://togithub.com/puppeteer/puppeteer/issues/6548) for the bug report and [#6550](https://togithub.com/puppeteer/puppeteer/issues/6550) for the fix. We now run a CI build on Node 10.15 to ensure we don't cause similar regressions in the future. #### Raw notes [`520cd90`](https://togithub.com/puppeteer/puppeteer/commit/520cd90e) - chore: mark version 5.4.1 [`8f4a79e`](https://togithub.com/puppeteer/puppeteer/commit/8f4a79e1) - docs(troubleshooting): update Alpine Chromium version ([#6529](https://togithub.com/puppeteer/puppeteer/issues/6529)) [`e45acce`](https://togithub.com/puppeteer/puppeteer/commit/e45acce9) - chore: run unit tests on node 10.15 + fix fs.promises access ([#6550](https://togithub.com/puppeteer/puppeteer/issues/6550)) [`a2175c6`](https://togithub.com/puppeteer/puppeteer/commit/a2175c6f) - docs(queryhandler): fix link ([#6543](https://togithub.com/puppeteer/puppeteer/issues/6543)) [`d787865`](https://togithub.com/puppeteer/puppeteer/commit/d7878650) - chore: bump version to v5.4.0-post ([#6544](https://togithub.com/puppeteer/puppeteer/issues/6544)) ### [`v5.4.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.4.0) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.3.1...v5.4.0) ### Feature changes #### Custom query handler API The custom query handler support is no longer marked as experimental. The API has been updated to: ```javascript, puppeteer.registerCustomQueryHandler(name: string, queryHandler: CustomQueryHandler): void; puppeteer.unregisterCustomQueryHandler(name: string): void; puppeteer.customQueryHandlerNames(): string[]; puppeteer.clearCustomQueryHandlers(): void; ``` #### New built-in query handlers Puppeteer now ships with two built-in handlers: `aria` and `pierce`: - The `aria` handler ([#6307](https://togithub.com/puppeteer/puppeteer/issues/6307)) allows querying elements based on the accessibility tree. - The `pierce` handler ([#6509](https://togithub.com/puppeteer/puppeteer/pull/6509)) pierces shadow roots while querying for a CSS selector. #### Roll Chromium 87.0.4272.0 (r809590) ### Behind the scenes - We now enforce Conventional Commits through commitlint ([#6483](https://togithub.com/puppeteer/puppeteer/issues/6483)) - We've started work towards automating the release process. This work can be tracked in [#6482](https://togithub.com/puppeteer/puppeteer/issues/6482). ### Raw notes [`5e5fed1`](https://togithub.com/puppeteer/puppeteer/commit/5e5fed1d) - fix: ignore spurious bindingCalled events ([#6538](https://togithub.com/puppeteer/puppeteer/issues/6538)) [`e6b8c77`](https://togithub.com/puppeteer/puppeteer/commit/e6b8c77d) - chore: fix travis config ([#6537](https://togithub.com/puppeteer/puppeteer/issues/6537)) [`c756fb4`](https://togithub.com/puppeteer/puppeteer/commit/c756fb49) - fix(utils): typo fix ([#6522](https://togithub.com/puppeteer/puppeteer/issues/6522)) [`f63a123`](https://togithub.com/puppeteer/puppeteer/commit/f63a123e) - chore(agnostification): agnostify web socket connections ([#6520](https://togithub.com/puppeteer/puppeteer/issues/6520)) [`c2c2bb7`](https://togithub.com/puppeteer/puppeteer/commit/c2c2bb7e) - chore(agnostification): common/helper.ts ([#6515](https://togithub.com/puppeteer/puppeteer/issues/6515)) [`637a1f7`](https://togithub.com/puppeteer/puppeteer/commit/637a1f74) - chore: gitignore new-docs ([#6511](https://togithub.com/puppeteer/puppeteer/issues/6511)) [`e655bb6`](https://togithub.com/puppeteer/puppeteer/commit/e655bb6c) - chore(agnostification): split up root Puppeteer class ([#6504](https://togithub.com/puppeteer/puppeteer/issues/6504)) [`f3086d7`](https://togithub.com/puppeteer/puppeteer/commit/f3086d7c) - fix(launcher): support relative userDataDir on headless Windows ([#6506](https://togithub.com/puppeteer/puppeteer/issues/6506)) [`8fabe32`](https://togithub.com/puppeteer/puppeteer/commit/8fabe328) - feat(queryhandler): add built-in pierce handler ([#6509](https://togithub.com/puppeteer/puppeteer/issues/6509)) [`f04bec5`](https://togithub.com/puppeteer/puppeteer/commit/f04bec5a) - chore: update eslint & eslint plugins ([#6487](https://togithub.com/puppeteer/puppeteer/issues/6487)) [`4846b87`](https://togithub.com/puppeteer/puppeteer/commit/4846b872) - chore(agnostification): split up launcher class ([#6484](https://togithub.com/puppeteer/puppeteer/issues/6484)) [`1ed38af`](https://togithub.com/puppeteer/puppeteer/commit/1ed38af7) - chore(node): move install.ts into node/ ([#6490](https://togithub.com/puppeteer/puppeteer/issues/6490)) [`e94a1e8`](https://togithub.com/puppeteer/puppeteer/commit/e94a1e87) - chore: bump misc dependencies ([#6488](https://togithub.com/puppeteer/puppeteer/issues/6488)) [`936ccdc`](https://togithub.com/puppeteer/puppeteer/commit/936ccdca) - chore: enforce Conventional Commits through commitlint ([#6483](https://togithub.com/puppeteer/puppeteer/issues/6483)) [`502ed8c`](https://togithub.com/puppeteer/puppeteer/commit/502ed8c8) - chore(agnostify): Create Node and Web initializer. ([#6477](https://togithub.com/puppeteer/puppeteer/issues/6477)) [`3afe193`](https://togithub.com/puppeteer/puppeteer/commit/3afe1935) - feat(a11y-query): extend aria handler with waitFor ([#6472](https://togithub.com/puppeteer/puppeteer/issues/6472)) [`cc7f1fd`](https://togithub.com/puppeteer/puppeteer/commit/cc7f1fd0) - docs(queryhandler): add custom query handler docs ([#6476](https://togithub.com/puppeteer/puppeteer/issues/6476)) [`70ed875`](https://togithub.com/puppeteer/puppeteer/commit/70ed8751) - fix(queryhandler) only expose custom handlers ([#6475](https://togithub.com/puppeteer/puppeteer/issues/6475)) [`950ae33`](https://togithub.com/puppeteer/puppeteer/commit/950ae334) - feat(a11y-query): aria query handler sans waitfor ([#6459](https://togithub.com/puppeteer/puppeteer/issues/6459)) [`41ef3ee`](https://togithub.com/puppeteer/puppeteer/commit/41ef3eec) - fix: update preferences in default Firefox profile ([#6465](https://togithub.com/puppeteer/puppeteer/issues/6465)) [`9275653`](https://togithub.com/puppeteer/puppeteer/commit/92756531) - docs(examples): update selector for search example ([#6471](https://togithub.com/puppeteer/puppeteer/issues/6471)) [`49f25e2`](https://togithub.com/puppeteer/puppeteer/commit/49f25e24) - feat(chromium) roll Chromium to r809590 ([#6458](https://togithub.com/puppeteer/puppeteer/issues/6458)) [`4cdbebe`](https://togithub.com/puppeteer/puppeteer/commit/4cdbebe1) - chore: disable firefox windows launcher test until Nov ([#6451](https://togithub.com/puppeteer/puppeteer/issues/6451)) [`75e3fb0`](https://togithub.com/puppeteer/puppeteer/commit/75e3fb03) - docs(api): fix some outdated links ([#6450](https://togithub.com/puppeteer/puppeteer/issues/6450)) [`caa9a1c`](https://togithub.com/puppeteer/puppeteer/commit/caa9a1ca) - chore(agnostic): Remove use of util.promisify ([#6446](https://togithub.com/puppeteer/puppeteer/issues/6446)) [`96f3d43`](https://togithub.com/puppeteer/puppeteer/commit/96f3d439) - feat(console): expose stack trace for console messages ([#6445](https://togithub.com/puppeteer/puppeteer/issues/6445)) [`322cc96`](https://togithub.com/puppeteer/puppeteer/commit/322cc96e) - chore: remove npm run test-types call ([#6447](https://togithub.com/puppeteer/puppeteer/issues/6447)) [`72fe86f`](https://togithub.com/puppeteer/puppeteer/commit/72fe86fe) - feat(a11y-query): introduce internal handlers ([#6437](https://togithub.com/puppeteer/puppeteer/issues/6437)) [`1396c9d`](https://togithub.com/puppeteer/puppeteer/commit/1396c9d4) - chore: bump version to v5.3.1-post ([#6440](https://togithub.com/puppeteer/puppeteer/issues/6440)) [`11ab402`](https://togithub.com/puppeteer/puppeteer/commit/11ab4028) - fix: add mime dependency back to fix build ([#6441](https://togithub.com/puppeteer/puppeteer/issues/6441)) ### [`v5.3.1`](https://togithub.com/puppeteer/puppeteer/releases/v5.3.1) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.3.0...v5.3.1) ##### Highlights - New API: `page.emulateIdleState(...)` ([#6410](https://togithub.com/puppeteer/puppeteer/issues/6410)) ##### Raw notes [`c7d32cb`](https://togithub.com/puppeteer/puppeteer/commit/c7d32cb9) - chore: mark version v5.3.1 ([#6439](https://togithub.com/puppeteer/puppeteer/issues/6439)) [`8f3171a`](https://togithub.com/puppeteer/puppeteer/commit/8f3171a3) - feat(permissions): Add idle-detection permission ([#6438](https://togithub.com/puppeteer/puppeteer/issues/6438)) [`083ea41`](https://togithub.com/puppeteer/puppeteer/commit/083ea41e) - test(frame): correct terminology in URL fragment test ([#6416](https://togithub.com/puppeteer/puppeteer/issues/6416)) [`bb1c521`](https://togithub.com/puppeteer/puppeteer/commit/bb1c5215) - chore: remove mime dependency ([#6415](https://togithub.com/puppeteer/puppeteer/issues/6415)) [`17960e5`](https://togithub.com/puppeteer/puppeteer/commit/17960e5d) - feat(page): emulate idle state ([#6410](https://togithub.com/puppeteer/puppeteer/issues/6410)) [`03e41da`](https://togithub.com/puppeteer/puppeteer/commit/03e41da4) - chore: bump version to v5.3.0-post ([#6413](https://togithub.com/puppeteer/puppeteer/issues/6413)) ### [`v5.3.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.3.0) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.2.1...v5.3.0) #### Highlights - Chromium 86.0.4240.0 (r800071) - Support configuring the browser download path through `PUPPETEER_DOWNLOAD_PATH` ([#6014](https://togithub.com/puppeteer/puppeteer/issues/6014)) - New API: `page.waitForTimeout` and subsequently, `frame.waitForTimeout` ([#6268](https://togithub.com/puppeteer/puppeteer/issues/6268)) - Deprecated API: `page.waitFor` and `frame.waitFor` ([#6268](https://togithub.com/puppeteer/puppeteer/issues/6268)) #### Raw notes [`030fcaa`](https://togithub.com/puppeteer/puppeteer/commit/030fcaa0) - chore: mark version v5.3.0 ([#6412](https://togithub.com/puppeteer/puppeteer/issues/6412)) [`4ce600a`](https://togithub.com/puppeteer/puppeteer/commit/4ce600a6) - chore: Remove target debug-unit and add unit-debug ([#6411](https://togithub.com/puppeteer/puppeteer/issues/6411)) [`62ac167`](https://togithub.com/puppeteer/puppeteer/commit/62ac1673) - feat(chromium): roll Chromium to r800071 ([#6407](https://togithub.com/puppeteer/puppeteer/issues/6407)) [`35cfbe1`](https://togithub.com/puppeteer/puppeteer/commit/35cfbe18) - docs(troubleshooting.md): updated commands ([#6296](https://togithub.com/puppeteer/puppeteer/issues/6296)) [`ce6ae35`](https://togithub.com/puppeteer/puppeteer/commit/ce6ae353) - doc(contributing): add info on bisecting upstream changes ([#6402](https://togithub.com/puppeteer/puppeteer/issues/6402)) [`e22ca4c`](https://togithub.com/puppeteer/puppeteer/commit/e22ca4c7) - chore: extend Firefox launch test deadline by a month ([#6403](https://togithub.com/puppeteer/puppeteer/issues/6403)) [`2470d1e`](https://togithub.com/puppeteer/puppeteer/commit/2470d1e9) - chore: update documentation on rolling chromium ([#6399](https://togithub.com/puppeteer/puppeteer/issues/6399)) [`b6bbfd0`](https://togithub.com/puppeteer/puppeteer/commit/b6bbfd0e) - fix: ensure frame.url() includes the query string ([#6398](https://togithub.com/puppeteer/puppeteer/issues/6398)) [`7b24e54`](https://togithub.com/puppeteer/puppeteer/commit/7b24e543) - fix: revise interesting classification for AXNodes ([#6334](https://togithub.com/puppeteer/puppeteer/issues/6334)) [`13ea347`](https://togithub.com/puppeteer/puppeteer/commit/13ea347c) - feat: support configuring the browser download path ([#6014](https://togithub.com/puppeteer/puppeteer/issues/6014)) [`615cd37`](https://togithub.com/puppeteer/puppeteer/commit/615cd37f) - chore: use https URL for license info ([#6279](https://togithub.com/puppeteer/puppeteer/issues/6279)) [`b4c1e45`](https://togithub.com/puppeteer/puppeteer/commit/b4c1e453) - docs: fix setuid sandbox link ([#6310](https://togithub.com/puppeteer/puppeteer/issues/6310)) [`054d782`](https://togithub.com/puppeteer/puppeteer/commit/054d782c) - fix(Launcher): use wait-for-process Firefox option ([#6315](https://togithub.com/puppeteer/puppeteer/issues/6315)) [`996e82c`](https://togithub.com/puppeteer/puppeteer/commit/996e82c7) - test(install): check for Firefox binary, clean up messages ([#6316](https://togithub.com/puppeteer/puppeteer/issues/6316)) [`142f88c`](https://togithub.com/puppeteer/puppeteer/commit/142f88c7) - docs(troubleshooting): update Alpine Chromium version ([#6320](https://togithub.com/puppeteer/puppeteer/issues/6320)) [`8e29b7a`](https://togithub.com/puppeteer/puppeteer/commit/8e29b7a3) - chore: rename serializeTree parameter ([#6308](https://togithub.com/puppeteer/puppeteer/issues/6308)) [`1d08e27`](https://togithub.com/puppeteer/puppeteer/commit/1d08e274) - docs(troubleshooting.md) fix error in docker guidelines ([#6267](https://togithub.com/puppeteer/puppeteer/issues/6267)) [`9bc063b`](https://togithub.com/puppeteer/puppeteer/commit/9bc063b5) - chore: assert location value of ConsoleMessage in tests ([#6282](https://togithub.com/puppeteer/puppeteer/issues/6282)) [`713e990`](https://togithub.com/puppeteer/puppeteer/commit/713e9905) - chore: upgrade Mitt to 2.1 ([#6287](https://togithub.com/puppeteer/puppeteer/issues/6287)) [`21552f8`](https://togithub.com/puppeteer/puppeteer/commit/21552f8f) - feat: page.waitForTimeout ([#6268](https://togithub.com/puppeteer/puppeteer/issues/6268)) [`3a15c06`](https://togithub.com/puppeteer/puppeteer/commit/3a15c06c) - chore: test Connection class in the browser ([#6269](https://togithub.com/puppeteer/puppeteer/issues/6269)) [`a47b556`](https://togithub.com/puppeteer/puppeteer/commit/a47b5561) - docs(api): fix typo in elementHandle.evaluateHandle() ([#6276](https://togithub.com/puppeteer/puppeteer/issues/6276)) [`8c1a586`](https://togithub.com/puppeteer/puppeteer/commit/8c1a5866) - fix: handle promise for reading protocol stream of trace ([#6270](https://togithub.com/puppeteer/puppeteer/issues/6270)) [`15d1906`](https://togithub.com/puppeteer/puppeteer/commit/15d1906e) - feat: add web test runner ([#6200](https://togithub.com/puppeteer/puppeteer/issues/6200)) [`13f8fe6`](https://togithub.com/puppeteer/puppeteer/commit/13f8fe6e) - chore(docs): `page.emulateVisionDeficiency` docs ([#6231](https://togithub.com/puppeteer/puppeteer/issues/6231)) [`e3933dd`](https://togithub.com/puppeteer/puppeteer/commit/e3933ddd) - chore: mark 5.2.1-post ([#6257](https://togithub.com/puppeteer/puppeteer/issues/6257)) ### [`v5.2.1`](https://togithub.com/puppeteer/puppeteer/releases/v5.2.1) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.2.0...v5.2.1) #### Highlights - Chromium 85.0.4182.0 (r782078) - We now allow configuring the browser debug logging behavior via `globalThis.__PUPPETEER_DEBUG` ([#6210](https://togithub.com/puppeteer/puppeteer/issues/6210)) #### Raw notes [`4ee4649`](https://togithub.com/puppeteer/puppeteer/commit/4ee4649d) - chore: mark v5.2.1 ([#6254](https://togithub.com/puppeteer/puppeteer/issues/6254)) [`e89e264`](https://togithub.com/puppeteer/puppeteer/commit/e89e264a) - feat(chromium): roll Chromium to r782078 ([#6250](https://togithub.com/puppeteer/puppeteer/issues/6250)) [`b2f6918`](https://togithub.com/puppeteer/puppeteer/commit/b2f69183) - fix: configure debug logging in browser ([#6210](https://togithub.com/puppeteer/puppeteer/issues/6210)) [`040f37e`](https://togithub.com/puppeteer/puppeteer/commit/040f37ec) - docs: fix link text ([#6245](https://togithub.com/puppeteer/puppeteer/issues/6245)) [`9fdf2ba`](https://togithub.com/puppeteer/puppeteer/commit/9fdf2ba2) - chore(docs): migrate page.pdf() docs ([#6228](https://togithub.com/puppeteer/puppeteer/issues/6228)) [`2331584`](https://togithub.com/puppeteer/puppeteer/commit/23315844) - docs(troubleshooting): install libXss in Dockerfile ([#6236](https://togithub.com/puppeteer/puppeteer/issues/6236)) [`042c4a2`](https://togithub.com/puppeteer/puppeteer/commit/042c4a23) - chore: mark 5.2.0-post ([#6240](https://togithub.com/puppeteer/puppeteer/issues/6240)) ### [`v5.2.0`](https://togithub.com/puppeteer/puppeteer/releases/v5.2.0) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v5.1.0...v5.2.0) #### Feature changes The experimental API for registering custom query handlers is slightly changed such that one registers query handlers containing two strategies: one for querying a single element and one for querying all matching elements. The API for custom query handlers is unchanged: ```ts __experimental_registerCustomQueryHandler(name: string, queryHandler: QueryHandler): void; __experimental_unregisterCustomQueryHandler(name: string): void; __experimental_customQueryHandlers(): MapConfiguration
📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/London.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.