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 v10 - autoclosed #164

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

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

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


Release Notes

puppeteer/puppeteer ### [`v10.4.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#​1040-httpsgithubcompuppeteerpuppeteercomparev1020v1040-2021-09-21) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v10.2.0...v10.4.0) ##### Features - add webp to screenshot options ([#​7565](https://togithub.com/puppeteer/puppeteer/issues/7565)) ([43a9268](https://togithub.com/puppeteer/puppeteer/commit/43a926832505a57922016907a264165676424557)) - **page:** expose page.client() ([#​7582](https://togithub.com/puppeteer/puppeteer/issues/7582)) ([99ca842](https://togithub.com/puppeteer/puppeteer/commit/99ca842124a1edef5e66426621885141a9feaca5)) - **page:** mark page.client() as internal ([#​7585](https://togithub.com/puppeteer/puppeteer/issues/7585)) ([8451951](https://togithub.com/puppeteer/puppeteer/commit/84519514831f304f9076ca235fe474f797616b2c)) - add ability to specify offsets for JSHandle.click ([#​7573](https://togithub.com/puppeteer/puppeteer/issues/7573)) ([2b5c001](https://togithub.com/puppeteer/puppeteer/commit/2b5c0019dc3744196c5858edeaa901dff9973ef5)) - add durableStorage to allowed permissions ([#​5295](https://togithub.com/puppeteer/puppeteer/issues/5295)) ([eda5171](https://togithub.com/puppeteer/puppeteer/commit/eda51712790b9260626dc53cfb58a72805c45582)) - add id option to addScriptTag ([#​5477](https://togithub.com/puppeteer/puppeteer/issues/5477)) ([300be5d](https://togithub.com/puppeteer/puppeteer/commit/300be5d167b6e7e532e725fdb86966081a5d0093)) - add more Android models to DeviceDescriptors ([#​7210](https://togithub.com/puppeteer/puppeteer/issues/7210)) ([b5020dc](https://togithub.com/puppeteer/puppeteer/commit/b5020dc04121b265c77662237dfb177d6de06053)), closes [/github.com/aerokube/moon-deploy/blob/master/moon-local.yaml#L199](https://togithub.com/puppeteer//github.com/aerokube/moon-deploy/blob/master/moon-local.yaml/issues/L199) - add proxy and bypass list parameters to createIncognitoBrowserContext ([#​7516](https://togithub.com/puppeteer/puppeteer/issues/7516)) ([8e45a1c](https://togithub.com/puppeteer/puppeteer/commit/8e45a1c882207cc36e87be2a917b661eb841c4bf)), closes [#​678](https://togithub.com/puppeteer/puppeteer/issues/678) - add threshold to Page.isIntersectingViewport ([#​6497](https://togithub.com/puppeteer/puppeteer/issues/6497)) ([54c4318](https://togithub.com/puppeteer/puppeteer/commit/54c43180161c3c512e4698e7f2e85ce3c6f0ab50)) - add unit test support for bisect ([#​7553](https://togithub.com/puppeteer/puppeteer/issues/7553)) ([a0b1f6b](https://togithub.com/puppeteer/puppeteer/commit/a0b1f6b401abae2fbc5a8987061644adfaa7b482)) - add User-Agent with Puppeteer version to WebSocket request ([#​5614](https://togithub.com/puppeteer/puppeteer/issues/5614)) ([6a2bf0a](https://togithub.com/puppeteer/puppeteer/commit/6a2bf0aabaa4df72c7838f5a6cd742e8f9c72be6)) - extend husky checks ([#​7574](https://togithub.com/puppeteer/puppeteer/issues/7574)) ([7316086](https://togithub.com/puppeteer/puppeteer/commit/73160869417275200be19bd37372b6218dbc5f63)) - **api:** implement `Page.waitForNetworkIdle()` ([#​5140](https://togithub.com/puppeteer/puppeteer/issues/5140)) ([3c6029c](https://togithub.com/puppeteer/puppeteer/commit/3c6029c702291ca7ef637b66e78d72e03156fe58)) - **coverage:** option for raw V8 script coverage ([#​6454](https://togithub.com/puppeteer/puppeteer/issues/6454)) ([cb4470a](https://togithub.com/puppeteer/puppeteer/commit/cb4470a6d9b0a7f73836458bb3d5779eb85ac5f2)) - support timeout for page.pdf() call ([#​7508](https://togithub.com/puppeteer/puppeteer/issues/7508)) ([f90af66](https://togithub.com/puppeteer/puppeteer/commit/f90af6639d801e764bdb479b9543b7f8f2b926df)) - **typescript:** allow using puppeteer without dom lib ([#​6998](https://togithub.com/puppeteer/puppeteer/issues/6998)) ([723052d](https://togithub.com/puppeteer/puppeteer/commit/723052d5bb3c3d1d3908508467512bea4d8fdc80)), closes [#​6989](https://togithub.com/puppeteer/puppeteer/issues/6989) ##### Bug Fixes - **docs:** deploy includes website documentation ([#​7469](https://togithub.com/puppeteer/puppeteer/issues/7469)) ([6fde41c](https://togithub.com/puppeteer/puppeteer/commit/6fde41c6b6657986df1bbce3f2e0f7aa499f2be4)) - **docs:** names in version 9.1.1 ([#​7517](https://togithub.com/puppeteer/puppeteer/issues/7517)) ([44b22bb](https://togithub.com/puppeteer/puppeteer/commit/44b22bbc2629e3c75c1494b299a66790b371fb0a)) - **frame:** fix Frame.waitFor's XPath pattern detection ([#​5184](https://togithub.com/puppeteer/puppeteer/issues/5184)) ([caa2b73](https://togithub.com/puppeteer/puppeteer/commit/caa2b732fe58f32ec03f2a9fa8568f20188203c5)) - **install:** respect environment proxy config when downloading Firef… ([#​6577](https://togithub.com/puppeteer/puppeteer/issues/6577)) ([9399c97](https://togithub.com/puppeteer/puppeteer/commit/9399c9786fba4e45e1c5485ddbb197d2d4f1735f)), closes [#​6573](https://togithub.com/puppeteer/puppeteer/issues/6573) - added names in V9.1.1 ([#​7547](https://togithub.com/puppeteer/puppeteer/issues/7547)) ([d132b8b](https://togithub.com/puppeteer/puppeteer/commit/d132b8b041696e6d5b9a99d0be1acf1cf943efef)) - **test:** tweak waitForNetworkIdle delay in test between downloads ([#​7564](https://togithub.com/puppeteer/puppeteer/issues/7564)) ([a21b737](https://togithub.com/puppeteer/puppeteer/commit/a21b7376e7feaf23066d67948d52480516f42496)) - **types:** allow evaluate functions to take a readonly array as an argument ([#​7072](https://togithub.com/puppeteer/puppeteer/issues/7072)) ([491614c](https://togithub.com/puppeteer/puppeteer/commit/491614c7f8cfa50b902d0275064e611c2a48c3b2)) - update firefox prefs documentation link ([#​7539](https://togithub.com/puppeteer/puppeteer/issues/7539)) ([2aec355](https://togithub.com/puppeteer/puppeteer/commit/2aec35553bc6e0305f40837bb3665ddbd02aa889)) - use non-deprecated tracing categories api ([#​7413](https://togithub.com/puppeteer/puppeteer/issues/7413)) ([040a0e5](https://togithub.com/puppeteer/puppeteer/commit/040a0e561b4f623f7929130b90be129f94ebb642)) ### [`v10.2.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#​1020-httpsgithubcompuppeteerpuppeteercomparev1010v1020-2021-08-04) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v10.1.0...v10.2.0) ##### Features - **api:** make `page.isDragInterceptionEnabled` a method ([#​7419](https://togithub.com/puppeteer/puppeteer/issues/7419)) ([dd470c7](https://togithub.com/puppeteer/puppeteer/commit/dd470c7a226a8422a938a7b0fffa58ffc6b78512)), closes [#​7150](https://togithub.com/puppeteer/puppeteer/issues/7150) - **chromium:** roll to Chromium 93.0.4577.0 (r901912) ([#​7387](https://togithub.com/puppeteer/puppeteer/issues/7387)) ([e10faad](https://togithub.com/puppeteer/puppeteer/commit/e10faad4f239b1120491bb54fcba0216acd3a646)) - add channel parameter for puppeteer.launch ([#​7389](https://togithub.com/puppeteer/puppeteer/issues/7389)) ([d70f60e](https://togithub.com/puppeteer/puppeteer/commit/d70f60e0619b8659d191fa492e3db4bc221ae982)) - add cooperative request intercepts ([#​6735](https://togithub.com/puppeteer/puppeteer/issues/6735)) ([b5e6474](https://togithub.com/puppeteer/puppeteer/commit/b5e6474374ae6a88fc73cdb1a9906764c2ac5d70)) - add support for useragentdata ([#​7378](https://togithub.com/puppeteer/puppeteer/issues/7378)) ([7200b1a](https://togithub.com/puppeteer/puppeteer/commit/7200b1a6fb9dfdfb65d50f0000339333e71b1b2a)) ##### Bug Fixes - **browser-runner:** reject promise on error ([#​7338](https://togithub.com/puppeteer/puppeteer/issues/7338)) ([5eb20e2](https://togithub.com/puppeteer/puppeteer/commit/5eb20e29a21ea0e0368fa8937ef38f7c7693ab34)) - add script to remove html comments from docs markdown ([#​7394](https://togithub.com/puppeteer/puppeteer/issues/7394)) ([ea3df80](https://togithub.com/puppeteer/puppeteer/commit/ea3df80ed136a03d7698d2319106af5df8d48b58)) ### [`v10.1.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#​1010-httpsgithubcompuppeteerpuppeteercomparev1000v1010-2021-06-29) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v10.0.0...v10.1.0) ##### Features - add a streaming version for page.pdf ([e3699e2](https://togithub.com/puppeteer/puppeteer/commit/e3699e248bc9c1f7a6ead9a07d68ae8b65905443)) - add drag-and-drop support ([#​7150](https://togithub.com/puppeteer/puppeteer/issues/7150)) ([a91b8ac](https://togithub.com/puppeteer/puppeteer/commit/a91b8aca3728b2c2e310e9446897d729bf983377)) - add page.emulateCPUThrottling ([#​7343](https://togithub.com/puppeteer/puppeteer/issues/7343)) ([4ce4110](https://togithub.com/puppeteer/puppeteer/commit/4ce41106288938b9d366c550e7a424812920683d)) ##### Bug Fixes - remove redundant await while fetching target ([#​7351](https://togithub.com/puppeteer/puppeteer/issues/7351)) ([083b297](https://togithub.com/puppeteer/puppeteer/commit/083b297a6741c6b1dd23867f441130655fac8f7d)) ### [`v10.0.0`](https://togithub.com/puppeteer/puppeteer/blob/master/CHANGELOG.md#​1000-httpsgithubcompuppeteerpuppeteercomparev911v1000-2021-05-31) [Compare Source](https://togithub.com/puppeteer/puppeteer/compare/v9.1.1...v10.0.0) ##### ⚠ BREAKING CHANGES - Node.js 10 is no longer supported. ##### Features - **chromium:** roll to Chromium 92.0.4512.0 (r884014) ([#​7288](https://togithub.com/puppeteer/puppeteer/issues/7288)) ([f863f4b](https://togithub.com/puppeteer/puppeteer/commit/f863f4bfe015e57ea1f9fbb322f1cedee468b857)) - **requestinterception:** remove cacheSafe flag ([#​7217](https://togithub.com/puppeteer/puppeteer/issues/7217)) ([d01aa6c](https://togithub.com/puppeteer/puppeteer/commit/d01aa6c84a1e41f15ffed3a8d36ad26a404a7187)) - expose other sessions from connection ([#​6863](https://togithub.com/puppeteer/puppeteer/issues/6863)) ([cb285a2](https://togithub.com/puppeteer/puppeteer/commit/cb285a237921259eac99ade1d8b5550e068a55eb)) - **launcher:** add new launcher option `waitForInitialPage` ([#​7105](https://togithub.com/puppeteer/puppeteer/issues/7105)) ([2605309](https://togithub.com/puppeteer/puppeteer/commit/2605309f74b43da160cda4d214016e4422bf7676)), closes [#​3630](https://togithub.com/puppeteer/puppeteer/issues/3630) ##### Bug Fixes - added comments for browsercontext, startCSSCoverage, and startJSCoverage. ([#​7264](https://togithub.com/puppeteer/puppeteer/issues/7264)) ([b750397](https://togithub.com/puppeteer/puppeteer/commit/b75039746ac6bddf1411538242b5e70b0f2e6e8a)) - modified comment for method product, platform and newPage ([#​7262](https://togithub.com/puppeteer/puppeteer/issues/7262)) ([159d283](https://togithub.com/puppeteer/puppeteer/commit/159d2835450697dabea6f9adf6e67d158b5b8ae3)) - **requestinterception:** fix font loading issue ([#​7060](https://togithub.com/puppeteer/puppeteer/issues/7060)) ([c9978d2](https://togithub.com/puppeteer/puppeteer/commit/c9978d20d5584c9fd2dc902e4b4ac86ed8ea5d6e)), closes [/github.com/puppeteer/puppeteer/pull/6996#issuecomment-811546501](https://togithub.com/puppeteer//github.com/puppeteer/puppeteer/pull/6996/issues/issuecomment-811546501) [/github.com/puppeteer/puppeteer/pull/6996#issuecomment-813797393](https://togithub.com/puppeteer//github.com/puppeteer/puppeteer/pull/6996/issues/issuecomment-813797393) [#​7038](https://togithub.com/puppeteer/puppeteer/issues/7038) - drop support for Node.js 10 ([#​7200](https://togithub.com/puppeteer/puppeteer/issues/7200)) ([97c9fe2](https://togithub.com/puppeteer/puppeteer/commit/97c9fe2520723d45a5a86da06b888ae888d400be)), closes [#​6753](https://togithub.com/puppeteer/puppeteer/issues/6753) ##### [9.1.1](https://togithub.com/puppeteer/puppeteer/compare/v9.1.0...v9.1.1) (2021-05-05) ##### Bug Fixes - make targetFilter synchronous ([#​7203](https://togithub.com/puppeteer/puppeteer/issues/7203)) ([bcc85a0](https://togithub.com/puppeteer/puppeteer/commit/bcc85a0969077d122e5d8d2fb5c1061999a8ae48)) ### [`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` -> `^10.0.0`](https://renovatebot.com/diffs/npm/puppeteer/1.20.0/10.4.0) | [![age](https://badges.renovateapi.com/packages/npm/puppeteer/10.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/puppeteer/10.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/puppeteer/10.4.0/compatibility-slim/1.20.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/puppeteer/10.4.0/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 ([https://github.com/puppeteer/puppeteer/issues/6307](https://togithub.com/puppeteer/puppeteer/issues/6307)) allows querying elements based on the accessibility tree. - The `pierce` handler ([https://github.com/puppeteer/puppeteer/pull/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 [https://github.com/puppeteer/puppeteer/issues/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]

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 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.