Financial-Times / n-test

A CLI tool and module for lightweight testing of web applications in browsers, designed for FT.com
4 stars 2 forks source link

Update dependency puppeteer to v5 - autoclosed #145

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 4 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
puppeteer ^1.18.1 -> ^5.0.0 age adoption passing confidence

:information_source: Find our documentation at https://github.com/Financial-Times/next/wiki/Renovate.


Release Notes

puppeteer/puppeteer ### [`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/puppeteer/issues/6017)) [`c701ea1`](https://togithub.com/puppeteer/puppeteer/commit/c701ea1) - chore: fix npm test command ([#​6010](https://togithub.com/puppeteer/puppeteer/issues/6010)) [`398c16d`](https://togithub.com/puppeteer/puppeteer/commit/398c16d) - chore: fix docs linter ([#​6009](https://togithub.com/puppeteer/puppeteer/issues/6009)) [`4205ff7`](https://togithub.com/puppeteer/puppeteer/commit/4205ff7) - docs(api): remove subheader for non-namespace [`3d56a9e`](https://togithub.com/puppeteer/puppeteer/commit/3d56a9e) - chore: add test configuration options for running tests against multiple products ([#​5964](https://togithub.com/puppeteer/puppeteer/issues/5964)) [`5c91dfb`](https://togithub.com/puppeteer/puppeteer/commit/5c91dfb) - chore: move `index.js` into `src` ([#​6007](https://togithub.com/puppeteer/puppeteer/issues/6007)) [`8a099a0`](https://togithub.com/puppeteer/puppeteer/commit/8a099a0) - docs: replace [@​return](https://togithub.com/return) with [@​returns](https://togithub.com/returns) ([#​6006](https://togithub.com/puppeteer/puppeteer/issues/6006)) [`23f18d8`](https://togithub.com/puppeteer/puppeteer/commit/23f18d8) - docs(new): start documenting the Page class ([#​6001](https://togithub.com/puppeteer/puppeteer/issues/6001)) [`c1d7be3`](https://togithub.com/puppeteer/puppeteer/commit/c1d7be3) - docs(api): add copy-pasting text example to Mouse class ([#​6000](https://togithub.com/puppeteer/puppeteer/issues/6000)) [`91eb745`](https://togithub.com/puppeteer/puppeteer/commit/91eb745) - chore: ensure new-docs are up to date ([#​5994](https://togithub.com/puppeteer/puppeteer/issues/5994)) [`b86ff21`](https://togithub.com/puppeteer/puppeteer/commit/b86ff21) - feat(api): add Page.isJavaScriptEnabled + mark properties as private ([#​5993](https://togithub.com/puppeteer/puppeteer/issues/5993)) [`354f942`](https://togithub.com/puppeteer/puppeteer/commit/354f942) - feat: improve error reporting on aarch64 ([#​5167](https://togithub.com/puppeteer/puppeteer/issues/5167)) [`9c656d4`](https://togithub.com/puppeteer/puppeteer/commit/9c656d4) - chore: remove `prefers-color-scheme: no-preference` ([#​5990](https://togithub.com/puppeteer/puppeteer/issues/5990)) [`83c29d9`](https://togithub.com/puppeteer/puppeteer/commit/83c29d9) - chore: clean `lib` when running tsc ([#​5982](https://togithub.com/puppeteer/puppeteer/issues/5982)) [`ca8b0d6`](https://togithub.com/puppeteer/puppeteer/commit/ca8b0d6) - feat(new-docs): migrate Dialog documentation to TSDoc ([#​5981](https://togithub.com/puppeteer/puppeteer/issues/5981)) [`0b3d52a`](https://togithub.com/puppeteer/puppeteer/commit/0b3d52a) - feat(new-docs): add TSDoc comments to `Accessibility` ([#​5971](https://togithub.com/puppeteer/puppeteer/issues/5971)) [`086c089`](https://togithub.com/puppeteer/puppeteer/commit/086c089) - chore: commit base new-docs ([#​5973](https://togithub.com/puppeteer/puppeteer/issues/5973)) [`0032420`](https://togithub.com/puppeteer/puppeteer/commit/0032420) - chore: Introduce API Extractor and start generating documentation ([#​5967](https://togithub.com/puppeteer/puppeteer/issues/5967)) [`ef63c64`](https://togithub.com/puppeteer/puppeteer/commit/ef63c64) - test: check installation with Firefox ([#​5965](https://togithub.com/puppeteer/puppeteer/issues/5965)) [`c2d32b1`](https://togithub.com/puppeteer/puppeteer/commit/c2d32b1) - chore: rename image assets [`a84e07c`](https://togithub.com/puppeteer/puppeteer/commit/a84e07c) - chore: increase readability of Puppeteer diagram ([#​5947](https://togithub.com/puppeteer/puppeteer/issues/5947)) [`58d1eab`](https://togithub.com/puppeteer/puppeteer/commit/58d1eab) - chore: mark version v3.3.0-post ([#​5960](https://togithub.com/puppeteer/puppeteer/issues/5960)) ### [`v3.3.0`](https://togithub.com/puppeteer/puppeteer/releases/v3.3.0) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v3.2.0...v3.3.0) #### Highlights - The migration from Node's EventEmitter to the Mitt library has been **reverted in this release**. We're sorry for causing unexpected issues in the 3.2.0 release. If you were unable to upgrade from 3.1.0 to 3.2.0, you will be able to upgrade straight to 3.3.0 and not have any issues. #### Behind the scenes - The Puppeteer `Response` class was renamed `HTTPResponse` to avoid a clash with the TS `Response` type. We don't expose this class on the main Puppeteer instance so this shouldn't affect any of your code. - Similarly we have renamed `Worker` to `WebWorker` to avoid a clash with the TS `Worker` type. #### Raw Notes [`34c0f9b`](https://togithub.com/puppeteer/puppeteer/commit/34c0f9b) - chore: mark version v3.3.0 [`309d811`](https://togithub.com/puppeteer/puppeteer/commit/309d811) - chore: Revert Mitt due to breaking changes ([#​5952](https://togithub.com/puppeteer/puppeteer/issues/5952)) [`81e3248`](https://togithub.com/puppeteer/puppeteer/commit/81e3248) - chore: Defer Windows FF tests for longer ([#​5954](https://togithub.com/puppeteer/puppeteer/issues/5954)) [`b874cac`](https://togithub.com/puppeteer/puppeteer/commit/b874cac) - chore: rename Worker to WebWorker ([#​5941](https://togithub.com/puppeteer/puppeteer/issues/5941)) [`7862484`](https://togithub.com/puppeteer/puppeteer/commit/7862484) - chore: update request and response references in docs ([#​5942](https://togithub.com/puppeteer/puppeteer/issues/5942)) [`232def0`](https://togithub.com/puppeteer/puppeteer/commit/232def0) - chore: rename `Response` to `HTTPResponse` ([#​5940](https://togithub.com/puppeteer/puppeteer/issues/5940)) [`cfd72ac`](https://togithub.com/puppeteer/puppeteer/commit/cfd72ac) - chore: bump version to v3.2.0-post ([#​5938](https://togithub.com/puppeteer/puppeteer/issues/5938)) ### [`v3.2.0`](https://togithub.com/puppeteer/puppeteer/releases/v3.2.0) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v3.1.0...v3.2.0) #### Highlights - We now support emulating vision deficiency types within Puppeteer using `page.emulateVisionDeficiency`. You can read more about these [on the DevTools update blog post](https://developers.google.com/web/updates/2020/03/devtools#vision-deficiencies). - We now use [Mitt](https://togithub.com/developit/mitt/) as the Event Emitter that backs many of Puppeteer's classes rather than the EventEmitter module that ships with Node. This **is potentially a breaking change if you rely on some of the less popular EventEmitter methods** as Puppeteer's [EventEmitter](https://togithub.com/puppeteer/puppeteer/blob/master/src/EventEmitter.ts) does not support the entire suite of NodeJS EventEmitter functions. We think it's unlikely anyone has relied on these; we were able to swap out the EventEmitter in Puppeteer without any unit tests needing to change. - Puppeteer now recognises webviews as regular pages which means you can control them just like you would control a regular page. #### Behind the scenes - The `Request` class has been renamed to `HTTPRequest` to avoid a clash with TypeScript's `Request` type. We'll be making similar changes to `Response` and `Worker`. This is not a breaking change as Puppeteer doesn't directly expose these classes so you shouldn't be referring to them by name in your code. #### Raw notes [`1d4d25a`](https://togithub.com/puppeteer/puppeteer/commit/1d4d25a) - chore: use Mitt as the Event Emitter ([#​5907](https://togithub.com/puppeteer/puppeteer/issues/5907)) [`a2ba6f0`](https://togithub.com/puppeteer/puppeteer/commit/a2ba6f0) - feat: recognize webviews as regular pages ([#​5905](https://togithub.com/puppeteer/puppeteer/issues/5905)) [`8e8a9df`](https://togithub.com/puppeteer/puppeteer/commit/8e8a9df) - chore: rename Request class to HTTPRequest ([#​5934](https://togithub.com/puppeteer/puppeteer/issues/5934)) [`9737059`](https://togithub.com/puppeteer/puppeteer/commit/9737059) - chore: remove doclint generate_types code ([#​5932](https://togithub.com/puppeteer/puppeteer/issues/5932)) [`7eab7f8`](https://togithub.com/puppeteer/puppeteer/commit/7eab7f8) - feat(api): add page.emulateVisionDeficiency(type) ([#​5901](https://togithub.com/puppeteer/puppeteer/issues/5901)) [`24ac11e`](https://togithub.com/puppeteer/puppeteer/commit/24ac11e) - chore: fix undefined `rm` in mocha-utils ([#​5920](https://togithub.com/puppeteer/puppeteer/issues/5920)) [`6cfe142`](https://togithub.com/puppeteer/puppeteer/commit/6cfe142) - chore: don't use expect within Promises ([#​5466](https://togithub.com/puppeteer/puppeteer/issues/5466)) ([#​5473](https://togithub.com/puppeteer/puppeteer/issues/5473)) [`dfb2e60`](https://togithub.com/puppeteer/puppeteer/commit/dfb2e60) - chore: stop Protocol types being globally available ([#​5899](https://togithub.com/puppeteer/puppeteer/issues/5899)) [`d8e0557`](https://togithub.com/puppeteer/puppeteer/commit/d8e0557) - chore: update Travis to run latest macOS and fix HTTPS test ([#​5903](https://togithub.com/puppeteer/puppeteer/issues/5903)) [`9a08d31`](https://togithub.com/puppeteer/puppeteer/commit/9a08d31) - chore: error if coverage couldn't find the given class ([#​5863](https://togithub.com/puppeteer/puppeteer/issues/5863)) [`caaf4d2`](https://togithub.com/puppeteer/puppeteer/commit/caaf4d2) - fix: support async functions as an argument for waitForFunction ([#​5682](https://togithub.com/puppeteer/puppeteer/issues/5682)) [`e6c22da`](https://togithub.com/puppeteer/puppeteer/commit/e6c22da) - chore: bump version to v3.1.0-post ([#​5884](https://togithub.com/puppeteer/puppeteer/issues/5884)) ### [`v3.1.0`](https://togithub.com/puppeteer/puppeteer/releases/v3.1.0) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v3.0.4...v3.1.0) ##### Big changes - Chromium 83.0.4103.0 (r756035) - New API to get SAN added to SecurityDetails (`SecurityDetails.subjectAlternativeNames()`) ##### Raw notes [`8ba3675`](https://togithub.com/puppeteer/puppeteer/commit/8ba3675) - chore: mark version v3.1.0 ([#​5883](https://togithub.com/puppeteer/puppeteer/issues/5883)) [`a17bd89`](https://togithub.com/puppeteer/puppeteer/commit/a17bd89) - feat: add securityDetails.subjectAlternativeNames() [#​5628](https://togithub.com/puppeteer/puppeteer/issues/5628) ([#​5881](https://togithub.com/puppeteer/puppeteer/issues/5881)) [`e823289`](https://togithub.com/puppeteer/puppeteer/commit/e823289) - feat(chromium): roll Chromium to r756035 ([#​5879](https://togithub.com/puppeteer/puppeteer/issues/5879)) [`ad3613d`](https://togithub.com/puppeteer/puppeteer/commit/ad3613d) - docs(contributing): clarify list of Chromium versions ([#​5878](https://togithub.com/puppeteer/puppeteer/issues/5878)) [`dc26b8d`](https://togithub.com/puppeteer/puppeteer/commit/dc26b8d) - docs(examples): add cucumber-puppeteer-example for integration testing ([#​5875](https://togithub.com/puppeteer/puppeteer/issues/5875)) [`3e76554`](https://togithub.com/puppeteer/puppeteer/commit/3e76554) - chore: fix async dialog specs when they fail ([#​5859](https://togithub.com/puppeteer/puppeteer/issues/5859)) [`b2552e4`](https://togithub.com/puppeteer/puppeteer/commit/b2552e4) - chore: restore page.setUserAgent test ([#​5868](https://togithub.com/puppeteer/puppeteer/issues/5868)) [`39f1b13`](https://togithub.com/puppeteer/puppeteer/commit/39f1b13) - chore: extract `Request` and `Response` into its own module ([#​5861](https://togithub.com/puppeteer/puppeteer/issues/5861)) [`b510c35`](https://togithub.com/puppeteer/puppeteer/commit/b510c35) - chore: fetch Firefox from JSON source instead of RegExp ([#​5864](https://togithub.com/puppeteer/puppeteer/issues/5864)) [`69c38fc`](https://togithub.com/puppeteer/puppeteer/commit/69c38fc) - chore: extract `ConsoleMessage` and `FileChooser` into its own module ([#​5856](https://togithub.com/puppeteer/puppeteer/issues/5856)) [`0aba6df`](https://togithub.com/puppeteer/puppeteer/commit/0aba6df) - chore: force Mocha to exit on CI ([#​5862](https://togithub.com/puppeteer/puppeteer/issues/5862)) [`9368edb`](https://togithub.com/puppeteer/puppeteer/commit/9368edb) - chore: upgrade TypeScript to 3.9 ([#​5860](https://togithub.com/puppeteer/puppeteer/issues/5860)) [`5f42547`](https://togithub.com/puppeteer/puppeteer/commit/5f42547) - chore: extract `SecurityDetails` into its own module ([#​5858](https://togithub.com/puppeteer/puppeteer/issues/5858)) [`f5d2597`](https://togithub.com/puppeteer/puppeteer/commit/f5d2597) - chore: add running TSC to test README ([#​5852](https://togithub.com/puppeteer/puppeteer/issues/5852)) [`c6d01c9`](https://togithub.com/puppeteer/puppeteer/commit/c6d01c9) - chore: extract `BrowserRunner` into its own module ([#​5850](https://togithub.com/puppeteer/puppeteer/issues/5850)) [`b38bb43`](https://togithub.com/puppeteer/puppeteer/commit/b38bb43) - Warn when given unsupported product name. ([#​5845](https://togithub.com/puppeteer/puppeteer/issues/5845)) [`6099272`](https://togithub.com/puppeteer/puppeteer/commit/6099272) - chore: add [@​types/proxy-from-env](https://togithub.com/types/proxy-from-env) ([#​5831](https://togithub.com/puppeteer/puppeteer/issues/5831)) [`5343c7a`](https://togithub.com/puppeteer/puppeteer/commit/5343c7a) - chore: private-ise src/Accessibility.ts ([#​5832](https://togithub.com/puppeteer/puppeteer/issues/5832)) [`ce09742`](https://togithub.com/puppeteer/puppeteer/commit/ce09742) - feat: add more options to check_availability script ([#​5827](https://togithub.com/puppeteer/puppeteer/issues/5827)) [`5103540`](https://togithub.com/puppeteer/puppeteer/commit/5103540) - chore: add command to run eslint with `--fix` flag ([#​5829](https://togithub.com/puppeteer/puppeteer/issues/5829)) [`49ce659`](https://togithub.com/puppeteer/puppeteer/commit/49ce659) - chore: remove src/TaskQueue ([#​5826](https://togithub.com/puppeteer/puppeteer/issues/5826)) [`4fdb1e3`](https://togithub.com/puppeteer/puppeteer/commit/4fdb1e3) - chore: add Prettier ([#​5825](https://togithub.com/puppeteer/puppeteer/issues/5825)) [`ae576af`](https://togithub.com/puppeteer/puppeteer/commit/ae576af) - chore: mark v3.0.4-post ([#​5824](https://togithub.com/puppeteer/puppeteer/issues/5824)) ### [`v3.0.4`](https://togithub.com/puppeteer/puppeteer/releases/v3.0.4) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v3.0.3...v3.0.4) ##### Highlights - As of Node.js v14.1.0 the bug that prevented Puppeteer working on Node.js 14.0.x has been fixed. The code that tried to debug this and show a useful error has been removed ([#​5816](https://togithub.com/puppeteer/puppeteer/issues/5816)). Puppeteer should install and run just fine on Node.js v14.1.0 and beyond. ##### Behind the scenes - We now run unit tests on Node.js v14 ([#​5821](https://togithub.com/puppeteer/puppeteer/issues/5821)). ##### Raw notes [`c214d20`](https://togithub.com/puppeteer/puppeteer/commit/c214d20) - chore: mark version v3.0.4 ([#​5823](https://togithub.com/puppeteer/puppeteer/issues/5823)) [`17bb660`](https://togithub.com/puppeteer

Renovate configuration

:date: Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/London.

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: 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.