50f07a816e
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
118 KiB
118 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.0.1 to 1.1.0
- dependencies
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.4.4 to 1.4.5
- dependencies
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.5.1 to 1.6.0
- dependencies
21.3.4 (2023-09-22)
Bug Fixes
21.3.3 (2023-09-22)
Bug Fixes
21.3.2 (2023-09-22)
Bug Fixes
- handle missing detach events for restored bfcache targets (#10967) (7bcdfcb)
- roll to Chrome 117.0.5938.92 (r1181205) (#10989) (d048cd9)
21.3.1 (2023-09-19)
Bug Fixes
21.3.0 (2023-09-19)
Features
- implement
Browser.connected
(#10927) (a4345a4) - implement
BrowserContext.closed
(#10928) (2292078) - implement improved Drag n' Drop APIs (#10651) (9342bac)
- implement typed events (#10889) (9b6f1de)
- roll to Chrome 117.0.5938.62 (r1181205) (#10893) (4b8d20d)
Bug Fixes
- fix line/column number in errors (#10926) (a0e57f7)
- handle frame manager init without unhandled rejection (#10902) (ea14834)
- remove explicit resource management from types (#10918) (a1b1bff)
- roll to Chrome 117.0.5938.88 (r1181205) (#10920) (b7bcc9a)
21.2.1 (2023-09-13)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.7.0 to 1.7.1
- dependencies
21.2.0 (2023-09-12)
Features
Bug Fixes
- add --disable-search-engine-choice-screen to default arguments (#10880) (d08ad5f)
- apply viewport emulation to prerender targets (#10804) (14f0ab7)
- implement
throwIfDetached
(#10826) (538bb73) - LifecycleWatcher sub frames handling (#10841) (06c1588)
- make network manager multi session (#10793) (085936b)
- make page.goBack work with bfcache in tab mode (#10818) (22daf18)
- only a single disable features flag is allowed (#10887) (4852e22)
- trimCache should remove Firefox too (#10872) (acdd7d3)
21.1.1 (2023-08-28)
Bug Fixes
21.1.0 (2023-08-18)
Features
Bug Fixes
- locator.fill should work for textareas (#10737) (fc08a7d)
- relative ordering of events and command responses should be ensured (#10725) (81ecb60)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.6.0 to 1.7.0
- dependencies
21.0.2 (2023-08-08)
Bug Fixes
- destroy puppeteer utility on context destruction (#10672) (8b8770c)
- roll to Chrome 115.0.5790.170 (r1148114) (#10677) (e5af57e)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.5.0 to 1.5.1
- dependencies
21.0.1 (2023-08-03)
Bug Fixes
21.0.0 (2023-08-02)
⚠ BREAKING CHANGES
- use Target for filters (#10601)
Features
- add page.createCDPSession method (#10515) (d0c5b8e)
- implement
Locator.prototype.filter
(#10631) (e73d35d) - implement
Locator.prototype.map
(#10630) (47eecf5) - implement
Locator.prototype.wait
(#10629) (5d34d42) - implement
Locator.prototype.waitHandle
(#10650) (fdada74) - implement function locators (#10632) (6ad92f7)
- implement immutable locator operations (#10638) (34be28d)
Bug Fixes
- remove typescript from peer dependencies (#10593) (c60572a)
- roll to Chrome 115.0.5790.102 (r1148114) (#10608) (8649c53)
Code Refactoring
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.4.6 to 1.5.0
- dependencies
20.9.0 (2023-07-20)
Features
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.4.5 to 1.4.6
- dependencies
20.8.3 (2023-07-18)
Bug Fixes
- locators: reject the race if there are only failures (#10567) (e3dd596)
- prevent erroneous new main frame (#10549) (cb46413)
20.8.1 (2023-07-11)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.4.3 to 1.4.4
- dependencies
20.8.0 (2023-07-06)
Features
Bug Fixes
20.7.4 (2023-06-29)
Bug Fixes
- fix escaping algo for P selectors (#10474) (84a956f)
- fix the util import in Connection.ts (#10450) (61f4525)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.4.2 to 1.4.3
- dependencies
20.7.3 (2023-06-20)
Bug Fixes
- add parenthesis to JS values in interpolateFunction (#10426) (fbdcc0d)
- added clipboard permission that was not exposed (#10119) (c06e15f)
- include src into published package (#10415) (d1ffad0)
- WaitForNetworkIdle and Deferred.race (#10411) (138cc5c)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.4.1 to 1.4.2
- dependencies
20.7.2 (2023-06-16)
Bug Fixes
20.7.1 (2023-06-13)
Bug Fixes
20.7.0 (2023-06-13)
Features
Bug Fixes
- Locator.scroll in race (#10363) (ba28724)
- mark CDPSessionOnMessageObject as internal (#10373) (7cb6059)
- specify the context id when adding bindings (#10366) (c2d3488)
20.6.0 (2023-06-09)
Features
- add
page.removeExposedFunction
(#10297) (4d0dbbc) - chrome: roll to Chrome 114.0.5735.45 (r1135570) (#10302) (021402d)
- implement Locator.race (#10337) (9c35e9a)
- implement Locators (#10305) (1f978f5)
Bug Fixes
- content() not showing comments outside html tag (#10293) (9abd48a)
- ensure stack trace contains one line (#10317) (bc0b04b)
- roll to Chrome 114.0.5735.90 (r1135570) (#10329) (60acefc)
- send capabilities property in session.new command (#10311) (e8d044c)
20.5.0 (2023-05-31)
Features
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.4.0 to 1.4.1
- dependencies
20.4.0 (2023-05-24)
Features
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.3.0 to 1.4.0
- dependencies
20.3.0 (2023-05-22)
Features
Bug Fixes
20.2.1 (2023-05-15)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.2.0 to 1.3.0
- dependencies
20.2.0 (2023-05-11)
Features
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.1.0 to 1.2.0
- dependencies
20.1.1 (2023-05-05)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 1.0.0 to 1.0.1
- dependencies
20.1.0 (2023-05-03)
Features
20.0.0 (2023-05-02)
⚠ BREAKING CHANGES
Features
- add AbortSignal to waitForFunction (#10078) (4dd4cb9)
- drop support for node14 (#10019) (7405d65)
- switch to Chrome for Testing instead of Chromium (#10054) (df4d60c)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 0.5.0 to 1.0.0
- dependencies
19.11.1 (2023-04-25)
Bug Fixes
- implement click
count
(#10069) (8124a7d) - implement flag for disabling headless warning (#10073) (cfe9bbc)
19.11.0 (2023-04-24)
Features
Bug Fixes
19.10.1 (2023-04-21)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 0.4.1 to 0.5.0
- dependencies
19.10.0 (2023-04-20)
Features
- support AbortController in waitForSelector (#10018) (9109b76)
- webworker: expose WebWorker.client (#10042) (c125128)
Bug Fixes
- continue requests without network instrumentation (#10046) (8283823)
- install bindings once (#10049) (690aec1)
19.9.1 (2023-04-17)
Bug Fixes
19.9.0 (2023-04-13)
Features
- add ElementHandle.isVisible and ElementHandle.isHidden (#10007) (26c81b7)
- add ElementHandle.scrollIntoView (#10005) (0d556a7)
Bug Fixes
Performance Improvements
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 0.4.0 to 0.4.1
- dependencies
19.8.5 (2023-04-06)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 0.3.3 to 0.4.0
- dependencies
19.8.4 (2023-04-06)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @puppeteer/browsers bumped from 0.3.2 to 0.3.3
- dependencies
19.8.3 (2023-04-03)
Bug Fixes
19.8.1 (2023-03-28)
Bug Fixes
19.8.0 (2023-03-24)
Features
- add Page.waitForDevicePrompt (#9299) (a5149d5)
- chromium: roll to Chromium 112.0.5614.0 (r1108766) (#9841) (eddb1f6)
Bug Fixes
- fallback to CSS (#9876) (e6ec9c2)
- implement protocol-level timeouts (#9877) (510b36c)
- viewport.deviceScaleFactor can be set to system default (#9911) (022c909)
- waitForNavigation issue with aborted events (#9883) (36c029b)
19.7.5 (2023-03-14)
Bug Fixes
Performance Improvements
19.7.4 (2023-03-10)
Bug Fixes
- call _detach on disconnect (#9807) (bc1a04d)
- restore rimraf for puppeteer-core code (#9815) (cefc4ea)
- update troubleshooting guide links in errors (#9821) (0165f06)
19.7.3 (2023-03-06)
Bug Fixes
19.7.2 (2023-02-20)
Bug Fixes
19.7.1 (2023-02-15)
Bug Fixes
- fix circularity on JSHandle interface (#9661) (eb13863)
- make chromium-bidi an opt peer dep (#9667) (c6054ac)
19.7.0 (2023-02-13)
Features
- add touchstart, touchmove and touchend methods (#9622) (c8bb11a)
- chromium: roll to Chromium 111.0.5556.0 (r1095492) (#9656) (df59d01)
Bug Fixes
19.6.3 (2023-02-01)
Bug Fixes
- ignore not found contexts for console messages (#9595) (390685b)
- restore WaitTask terminate condition (#9612) (e16cbc6)
19.6.2 (2023-01-27)
Bug Fixes
19.6.1 (2023-01-26)
Bug Fixes
- don't clean up previous browser versions (#9568) (344bc2a), closes #9533
- mimic rejection for PuppeteerUtil on early call (#9589) (1980de9)
- revert: use LazyArg for puppeteer utilities (#9590) (6edd996)
- use LazyArg for puppeteer utilities (#9575) (496658f)
19.6.0 (2023-01-23)
Features
- chromium: roll to Chromium 110.0.5479.0 (r1083080) (#9500) (06e816b), closes #9470
- page: Adding support for referrerPolicy in
page.goto
(#9561) (e3d69ec)
Bug Fixes
- firefox revision resolution should not update chrome revision (#9507) (f59bbf4), closes #9461
- improve screenshot method types (#9529) (6847f88)
19.5.2 (2023-01-11)
Bug Fixes
19.5.1 (2023-01-11)
Bug Fixes
19.5.0 (2023-01-05)
Features
Bug Fixes
19.4.1 (2022-12-16)
Bug Fixes
- improve a11y snapshot handling if the tree is not correct (#9405) (02fe501), closes #9404
- remove oopif expectations and fix oopif flakiness (#9375) (810e0cd)
19.4.0 (2022-12-07)
Features
- ability to send headers via ws connection to browser in node.js environment (#9314) (937fffa), closes #7218
- chromium: roll to Chromium 109.0.5412.0 (r1069273) (#9364) (1875da6), closes #9233
- puppeteer-core: keydown supports commands (#9357) (b7ebc5d)
Bug Fixes
19.3.0 (2022-11-23)
Features
- puppeteer-core: Infer element type from complex selector (#9253) (bef1061)
- puppeteer-core: update Chrome launcher flags (#9239) (ae87bfc)
Bug Fixes
19.2.2 (2022-11-03)
Bug Fixes
19.2.1 (2022-10-28)
Bug Fixes
19.2.0 (2022-10-26)
Features
19.1.1 (2022-10-24)
Bug Fixes
19.1.0 (2022-10-21)
Features
- expose browser context id (#9134) (122778a), closes #9132
- use configuration files (#9140) (ec20174), closes #9128
Bug Fixes
19.0.0 (2022-10-14)
⚠ BREAKING CHANGES
- use
~/.cache/puppeteer
for browser downloads (#9095) - deprecate
createBrowserFetcher
in favor ofBrowserFetcher
(#9079) - refactor custom query handler API (#9078)
- remove
puppeteer.devices
in favor ofKnownDevices
(#9075) - deprecate indirect network condition imports (#9074)
- deprecate indirect error imports (#9072)
Features
- add ability to collect JS code coverage at the function level (#9027) (a032583)
- deprecate
createBrowserFetcher
in favor ofBrowserFetcher
(#9079) (7294dfe), closes #8999 - use
~/.cache/puppeteer
for browser downloads (#9095) (3df375b)
Bug Fixes
- deprecate indirect error imports (#9072) (9f4f43a)
- deprecate indirect network condition imports (#9074) (41d0122)
- refactor custom query handler API (#9078) (1847704)
- remove
puppeteer.devices
in favor ofKnownDevices
(#9075) (87c08fd) - remove viewport conditions in
waitForSelector
(#9087) (acbc599)
18.2.1 (2022-10-06)
Bug Fixes
- add README to package during prepack (#9057) (9374e23)
- waitForRequest works with async predicate (#9058) (8f6b2c9)
18.2.0 (2022-10-05)
Features
18.1.0 (2022-10-05)
Features
18.0.5 (2022-09-22)
Bug Fixes
18.0.4 (2022-09-21)
Bug Fixes
18.0.3 (2022-09-20)
Bug Fixes
18.0.2 (2022-09-19)
Bug Fixes
18.0.1 (2022-09-19)
Bug Fixes
18.0.0 (2022-09-19)
⚠ BREAKING CHANGES
- fix bounding box visibility conditions (#8954)
Features
Bug Fixes
- fix bounding box visibility conditions (#8954) (ac9929d)
- suppress init errors if the target is closed (#8947) (cfaaa5e)
- use win64 version of chromium when on arm64 windows (#8927) (64843b8)
17.1.3 (2022-09-08)
Bug Fixes
- FirefoxLauncher should not use BrowserFetcher in puppeteer-core (#8920) (f2e8de7), closes #8919
- linux arm64 check on windows arm (#8917) (f02b926), closes #8915
17.1.2 (2022-09-07)
Bug Fixes
- add missing code coverage ranges that span only a single character (#8911) (0c577b9)
- add Page.getDefaultTimeout getter (#8903) (3240095), closes #8901
- don't detect project root for puppeteer-core (#8907) (b4f5ea1), closes #8896
- support scale for screenshot clips (#8908) (260e428), closes #5329
- work around a race in waitForFileChooser (#8905) (053d960), closes #6040
17.1.1 (2022-09-05)
Bug Fixes
17.1.0 (2022-09-02)
Features
Bug Fixes
- allow getting a frame from an elementhandle (#8875) (3732757)
- typos in documentation (#8858) (8d95a9b)
- use the timeout setting in waitForFileChooser (#8856) (f477b46)
17.0.0 (2022-08-26)
⚠ BREAKING CHANGES
- remove
root
fromWaitForSelectorOptions
(#8848) - internalize execution context (#8844)
Bug Fixes
- allow multiple navigations to happen in LifecycleWatcher (#8826) (341b669), closes #8811
- internalize execution context (#8844) (2f33237)
- remove
root
fromWaitForSelectorOptions
(#8848) (1155c8e) - remove deferred promise timeouts (#8835) (202ffce), closes #8832
16.2.0 (2022-08-18)
Features
Bug Fixes
16.1.1 (2022-08-16)
Bug Fixes
- custom sessions should not emit targetcreated events (#8788) (3fad05d), closes #8787
- deprecate
ExecutionContext
(#8792) (b5da718) - deprecate
root
inWaitForSelectorOptions
(#8795) (65a5ce8) - deprecate
waitForTimeout
(#8793) (8f612d5) - make sure there is a check for targets when timeout=0 (#8765) (c23cdb7), closes #8763
- resolve navigation flakiness (#8768) (2580347), closes #8644
- specify Puppeteer version for Chromium 105.0.5173.0 (#8766) (b5064b7)
- use targetFilter in puppeteer.launch (#8774) (ee2540b), closes #8772
16.1.0 (2022-08-06)
Features
Bug Fixes
- resolve target manager init if no existing targets detected (#8748) (8cb5043), closes #8747
- specify the target filter in setDiscoverTargets (#8742) (49193cb)
16.0.0 (2022-08-02)
⚠ BREAKING CHANGES
- With Chromium, Puppeteer will now attach to page/iframe targets immediately to allow reliable configuration of targets.
Features
- add Dockerfile (#8315) (936ed86)
- detect Firefox in connect() automatically (#8718) (2abd772)
- use CDP's auto-attach mechanism (#8520) (2cbfdeb)
Bug Fixes
- address flakiness in frame handling (#8688) (6f81b23)
- disable AcceptCHFrame (#8706) (96d9608), closes #8479
- use loaderId to reduce test flakiness (#8717) (d2f6db2)
15.5.0 (2022-07-21)
Features
15.4.2 (2022-07-21)
Bug Fixes
15.4.1 (2022-07-21)
Bug Fixes
15.4.0 (2022-07-13)
Features
Bug Fixes
15.3.2 (2022-07-08)
Bug Fixes
- cache dynamic imports (#8652) (1de0383)
- expose a RemoteObject getter (#8642) (d0c4291), closes #8639
- page: fix page.#scrollIntoViewIfNeeded method (#8631) (b47f066)
15.3.1 (2022-07-06)
Bug Fixes
15.3.0 (2022-07-01)
Features
Bug Fixes
15.2.0 (2022-06-29)
Features
- add fromSurface option to page.screenshot (#8496) (79e1198)
- export public types only (#8584) (7001322)
Bug Fixes
15.1.1 (2022-06-25)
Bug Fixes
- export
ElementHandle
(e0198a7)
15.1.0 (2022-06-24)
Features
15.0.2 (2022-06-24)
Bug Fixes
15.0.1 (2022-06-24)
Bug Fixes
15.0.0 (2022-06-23)
⚠ BREAKING CHANGES
- type inference for evaluation types (#8547)
Features
- add experimental
client
toHTTPRequest
(#8556) (ec79f3a) - type inference for evaluation types (#8547) (26c3acb)
14.4.1 (2022-06-17)
Bug Fixes
- avoid
instanceof Object
check inisErrorLike
(#8527) (6cd5cd0) - export
devices
,errors
, and more (cba58a1)
14.4.0 (2022-06-13)
Features
Bug Fixes
- parse empty options in <select> (#8489) (b30f3f4)
- use error-like (#8504) (4d35990)
- use OS-independent abs. path check (#8505) (bfd4e68)
14.3.0 (2022-06-07)
Features
Bug Fixes
- don't throw on bad access (#8472) (e837866)
- Kill browser process when killing process group fails (#8477) (7dc8e37)
- only lookup
localhost
for DNS lookups (1b025b4) - robustly check for launch executable (#8468) (b54dc55)
14.2.1 (2022-06-02)
Bug Fixes
14.2.0 (2022-06-01)
Features
- chromium: roll to Chromium 103.0.5059.0 (r1002410) (#8410) (54efc2c)
- support node 18 (#8447) (f2d8276)
- use strict typescript (#8401) (b4e751f)
Bug Fixes
- multiple same request event listener (#8404) (9211015)
- NodeNext incompatibility in package.json (#8445) (c4898a7)
- process documentation during publishing (#8433) (d111d19)
14.1.2 (2022-05-30)
Bug Fixes
- do not use loaderId for lifecycle events (#8395) (c96c915)
- fix release-please bot (#8400) (5c235c7)
- use strict TS in Input.ts (#8392) (af92a24)
14.1.1 (2022-05-19)
Bug Fixes
- kill browser process when 'taskkill' fails on Windows (#8352) (dccfadb)
- only check loading iframe in lifecycling (#8348) (7438030)
- recompile before funit and unit commands (#8363) (8735b78), closes #8362
14.1.0 (2022-05-13)
Features
- add waitForXPath to ElementHandle (#8329) (7eaadaf)
- allow handling other targets as pages internally (#8336) (3b66a2c)
Bug Fixes
- disable AvoidUnnecessaryBeforeUnloadCheckSync to fix navigations (#8330) (4854ad5)
- If currentNode and root are the same, do not include them in the result (#8332) (a61144d)
14.0.0 (2022-05-09)
⚠ BREAKING CHANGES
- strict mode fixes for HTTPRequest/Response classes (#8297)
- Node 12 is no longer supported.
Features
- add support for Apple Silicon chromium builds (#7546) (baa017d), closes #6622
- chromium: roll to Chromium 102.0.5002.0 (r991974) (#8319) (be4c930)
- support ES modules (#8306) (6841bd6)
Bug Fixes
13.7.0 (2022-04-28)
Features
Bug Fixes
- doc typo (#8263) (952a2ae)
- use different test names for browser specific tests in launcher.spec.ts (#8250) (c6cf1a9)
13.6.0 (2022-04-19)
Features
- chromium: roll to Chromium 101.0.4950.0 (r982053) (#8213) (ec74bd8)
- respond multiple headers with same key (#8183) (c1dcd85)
Bug Fixes
- also kill Firefox when temporary profile is used (#8233) (b6504d7)
- consider existing frames when waiting for a frame (#8200) (0955225)
- disable bfcache in the launcher (#8196) (9ac7318), closes #8182
- enable page.spec event handler test for firefox (#8214) (2b45027)
- forget queuedEventGroup when emitting response in responseReceivedExtraInfo (#8234) (#8239) (91a8e73)
- forget request will be sent from the _requestWillBeSentMap list. (#8226) (4b786c9)
- ignore favicon requests in page.spec event handler tests (#8208) (04e5c88)
- network.spec.ts: typo in the word should (#8223) (e93faad)
13.5.2 (2022-03-31)
Bug Fixes
- chromium downloading hung at 99% (#8169) (8f13470)
- get extra headers from Fetch.requestPaused event (#8162) (37ede68)
13.5.1 (2022-03-09)
Bug Fixes
13.5.0 (2022-03-07)
Features
Bug Fixes
- Inherit browser-level proxy settings from incognito context (#7770) (3feca32)
- page: page.createIsolatedWorld error catching has been added (#7848) (309e8b8)
- tests: ensure all tests honour BINARY envvar (#8092) (3b8b9ad)
13.4.1 (2022-03-01)
Bug Fixes
13.4.0 (2022-02-22)
Features
- add support for async waitForTarget (#7885) (dbf0639)
- export
Frame._client
through getter (#8041) (e9278fc) - HTTPResponse: expose timing information (#8025) (30b3d49)
Bug Fixes
- change kill to signal the whole process group to terminate (#6859) (0eb9c78)
- element screenshot issue in headful mode (#8018) (5346e70), closes #7999
- ensure dom binding is not called after detach (#8024) (5c308b0), closes #7814
- use both __dirname and require.resolve to support different bundlers (#8046) (e6a6295), closes #8044
13.3.2 (2022-02-14)
Bug Fixes
- always use ENV executable path when present (#7985) (6d6ea9b)
- use require.resolve instead of __dirname (#8003) (bbb186d)
13.3.1 (2022-02-10)
Bug Fixes
13.3.0 (2022-02-09)
Features
13.2.0 (2022-02-07)
Features
- add more models to DeviceDescriptors (#7904) (6a655cb)
- chromium: roll to Chromium 99.0.4844.16 (r961656) (#7960) (96c3f94)
Bug Fixes
- make projectRoot optional in Puppeteer and launchers (#7967) (9afdc63)
- migrate more files to strict-mode TypeScript (#7950) (aaac8d9)
- typos in documentation (#7968) (41ab4e9)
13.1.3 (2022-01-31)
Bug Fixes
- issue with reading versions.js in doclint (#7940) (06ba963)
- make more files work in strict-mode TypeScript (#7936) (0636513)
- page.pdf producing an invalid pdf (#7868) (afea509), closes #7757
13.1.2 (2022-01-25)
Bug Fixes
- package.json: update node-fetch package (#7924) (e4c48d3)
- types in Browser.ts to be compatible with strict mode Typescript (#7918) (a8ec0aa), closes #6769
- types in Connection.ts to be compatible with strict mode Typescript (#7919) (d80d602), closes #6769
13.1.1 (2022-01-18)
Bug Fixes
13.1.0 (2022-01-17)
Features
Bug Fixes
- apply OOPIF offsets to bounding box and box model calls (#7906) (a566263)
- correctly compute clickable points for elements inside OOPIFs (#7900) (486bbe0), closes #7849
- error for pre-existing OOPIFs (#7899) (d7937b8), closes #7844 #7896
13.0.1 (2021-12-22)
Bug Fixes
- disable a test failing on Firefox (#7846) (36207c5)
- make sure ElementHandle.waitForSelector is evaluated in the right context (#7843) (8d8e874)
- predicate arguments for waitForFunction (#7845) (1c44551), closes #7836
13.0.0 (2021-12-10)
⚠ BREAKING CHANGES
- typo in 'already-handled' constant of the request interception API (#7813)
Features
- expose HTTPRequest intercept resolution state and clarify docs (#7796) (dc23b75)
- implement Element.waitForSelector (#7825) (c034294)
Bug Fixes
- handle multiple/duplicate Fetch.requestPaused events (#7802) (636b086), closes #7475 #6696 #7225
- revert "feat(typescript): allow using puppeteer without dom lib" (02c9af6), closes #6998
- typo in 'already-handled' constant of the request interception API (#7813) (8242422), closes #7745 #7747 #7780
12.0.1 (2021-11-29)
Bug Fixes
12.0.0 (2021-11-26)
⚠ BREAKING CHANGES
- chromium: roll to Chromium 97.0.4692.0 (r938248)
Features
- chromium: roll to Chromium 97.0.4692.0 (r938248) (ac162c5), closes #7458
- support for custom user data (profile) directory for Firefox (#7684) (790c7a0)
Bug Fixes
- ariaqueryhandler: allow single quotes in aria attribute selector (#7750) (b0319ec), closes #7721
- clearer jsdoc for behavior of
headless
whendevtools
is true (#7748) (9f9b4ed) - null check for frame in FrameManager (#7773) (23ee295), closes #7749
- only kill the process when there is no browser instance available (#7762) (51e6169), closes #7668
- parse statusText from the extraInfo event (#7798) (a26b12b), closes #7458
- try to remove the temporary user data directory after the process has been killed (#7761) (fc94a28)
11.0.0 (2021-11-02)
⚠ BREAKING CHANGES
- oop iframes: integrate OOP iframes with the frame manager (#7556)
Features
- improve error message for response.buffer() (#7669) (03c9ecc)
- oop iframes: integrate OOP iframes with the frame manager (#7556) (4d9dc8c), closes #2548
- add custom debugging port option (#4993) (26145e9)
- add initiator to HTTPRequest (#7614) (a271145)
- allow to customize tmpdir (#7243) (b1f6e86)
- handle unhandled promise rejections in tests (#7722) (07febca)
Bug Fixes
- add support for relative install paths to BrowserFetcher (#7613) (eebf452), closes #7592
- add webp to screenshot quality option allow list (#7631) (b20c2bf)
- prevent Target closed errors on streams (#7728) (5b792de)
- request an animation frame to fix flaky clickablePoint test (#7587) (7341d9f)
- setup husky properly (#7727) (8b712e7), closes #7726
- updated troubleshooting.md to meet latest dependencies changes (#7656) (edb0197)
- launcher: launcher.launch() should pass 'timeout' option #5180 (#7596) (113489d)
- page: fallback to default in exposeFunction when using imported module (#6365) (44c9ec6)
- page: fix page.off method for request event (#7624) (d0cb943), closes #7572
10.4.0 (2021-09-21)
Features
- add webp to screenshot options (#7565) (43a9268)
- page: expose page.client() (#7582) (99ca842)
- page: mark page.client() as internal (#7585) (8451951)
- add ability to specify offsets for JSHandle.click (#7573) (2b5c001)
- add durableStorage to allowed permissions (#5295) (eda5171)
- add id option to addScriptTag (#5477) (300be5d)
- add more Android models to DeviceDescriptors (#7210) (b5020dc), closes /github.com/aerokube/moon-deploy/blob/master/moon-local.yaml#L199
- add proxy and bypass list parameters to createIncognitoBrowserContext (#7516) (8e45a1c), closes #678
- add threshold to Page.isIntersectingViewport (#6497) (54c4318)
- add unit test support for bisect (#7553) (a0b1f6b)
- add User-Agent with Puppeteer version to WebSocket request (#5614) (6a2bf0a)
- extend husky checks (#7574) (7316086)
- api: implement
Page.waitForNetworkIdle()
(#5140) (3c6029c) - coverage: option for raw V8 script coverage (#6454) (cb4470a)
- support timeout for page.pdf() call (#7508) (f90af66)
- typescript: allow using puppeteer without dom lib (#6998) (723052d), closes #6989
Bug Fixes
- docs: deploy includes website documentation (#7469) (6fde41c)
- docs: names in version 9.1.1 (#7517) (44b22bb)
- frame: fix Frame.waitFor's XPath pattern detection (#5184) (caa2b73)
- install: respect environment proxy config when downloading Firef… (#6577) (9399c97), closes #6573
- added names in V9.1.1 (#7547) (d132b8b)
- test: tweak waitForNetworkIdle delay in test between downloads (#7564) (a21b737)
- types: allow evaluate functions to take a readonly array as an argument (#7072) (491614c)
- update firefox prefs documentation link (#7539) (2aec355)
- use non-deprecated tracing categories api (#7413) (040a0e5)
10.2.0 (2021-08-04)
Features
- api: make
page.isDragInterceptionEnabled
a method (#7419) (dd470c7), closes #7150 - chromium: roll to Chromium 93.0.4577.0 (r901912) (#7387) (e10faad)
- add channel parameter for puppeteer.launch (#7389) (d70f60e)
- add cooperative request intercepts (#6735) (b5e6474)
- add support for useragentdata (#7378) (7200b1a)
Bug Fixes
- browser-runner: reject promise on error (#7338) (5eb20e2)
- add script to remove html comments from docs markdown (#7394) (ea3df80)
10.1.0 (2021-06-29)
Features
- add a streaming version for page.pdf (e3699e2)
- add drag-and-drop support (#7150) (a91b8ac)
- add page.emulateCPUThrottling (#7343) (4ce4110)
Bug Fixes
10.0.0 (2021-05-31)
⚠ BREAKING CHANGES
- Node.js 10 is no longer supported.
Features
- chromium: roll to Chromium 92.0.4512.0 (r884014) (#7288) (f863f4b)
- requestinterception: remove cacheSafe flag (#7217) (d01aa6c)
- expose other sessions from connection (#6863) (cb285a2)
- launcher: add new launcher option
waitForInitialPage
(#7105) (2605309), closes #3630
Bug Fixes
-
added comments for browsercontext, startCSSCoverage, and startJSCoverage. (#7264) (b750397)
-
modified comment for method product, platform and newPage (#7262) (159d283)
-
requestinterception: fix font loading issue (#7060) (c9978d2), closes /github.com/puppeteer/puppeteer/pull/6996#issuecomment-811546501 /github.com/puppeteer/puppeteer/pull/6996#issuecomment-813797393 #7038
9.1.1 (2021-05-05)
Bug Fixes
9.1.0 (2021-05-03)
Features
Bug Fixes
9.0.0 (2021-04-21)
⚠ BREAKING CHANGES
- filechooser: FileChooser.cancel() is now synchronous.
Features
- chromium: roll to Chromium 91.0.4469.0 (r869685) (#7110) (715e7a8)
- launcher: fix installation error on Apple M1 chips (#7099) (c239d9e), closes #6622
- network: request interception and caching compatibility (#6996) (8695759)
- page: emit the event after removing the Worker (#7080) (e34a6d5)
- types: improve type of predicate function (#6997) (943477c), closes /github.com/DefinitelyTyped/DefinitelyTyped/blob/c43191a8f7a7d2a47bbff0bc3a7d95ecc64d2269/types/puppeteer/index.d.ts#L1883-L1885
- accept captureBeyondViewport as optional screenshot param (#7063) (0e092d2)
- page: add omitBackground option for page.pdf method (#6981) (dc8ab6d)
Bug Fixes
- aria: fix parsing of ARIA selectors (#7037) (4426135)
- page: fix mouse.click method (#7097) (ba7c367), closes #6462 #3347
- make
$
and$$
selectors generic (#6883) (b349c91) - type page event listeners correctly (#6891) (866d34e)
- typescript: allow defaultViewport to be 'null' (#6942) (e31e68d), closes #6885
- make screenshots work in puppeteer-web (#6936) (5f24f60)
- filechooser: cancel is sync (#6937) (2ba61e0)
- network: don't disable cache for auth challenge (#6962) (1c2479a)
8.0.0 (2021-02-26)
⚠ BREAKING CHANGES
- renamed type
ChromeArgOptions
toBrowserLaunchArgumentOptions
- renamed type
BrowserOptions
toBrowserConnectOptions
Features
Bug Fixes
- explicit HTTPRequest.resourceType type defs (#6882) (ff26c62), closes #6854
- expose
Viewport
type (#6881) (be7c229) - improve TS types for launching browsers (#6888) (98c8145)
- move CI npm config out of .npmrc (#6901) (f7de60b)
7.1.0 (2021-02-12)
Features
Bug Fixes
- add favicon test asset (#6868) (a63f53c)
- expose
ScreenshotOptions
type in type defs (#6869) (63d48b2), closes #6866 - expose puppeteer.Permission type (#6856) (a5e174f)
- jsonValue() type is generic (#6865) (bdaba78)
- wider compat TS types and CI checks to ensure correct type defs (#6855) (6a0eb78)
7.0.4 (2021-02-09)
Bug Fixes
7.0.3 (2021-02-09)
Bug Fixes
7.0.2 (2021-02-09)
Bug Fixes
- much better TypeScript definitions (#6837) (f1b46ab)
- domworld: reset bindings when context changes (#6766) (#6836) (4e8d074)
- launcher: output correct error message for browser (#6815) (6c61874)
7.0.1 (2021-02-04)
Bug Fixes
7.0.0 (2021-02-03)
⚠ 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
inPage.captureScreenshot
(#6805) (401d84e) - chromium: roll Chromium to r848005 (#6801) (890d5c2)
6.0.0 (2021-02-02)
⚠ BREAKING CHANGES
- chromium: The built-in
aria/
selector query handler doesn’t return ignored elements anymore.
Features
- chromium: roll Chromium to r843427 (#6797) (8f9fbdb), closes #6758
- add page.emulateNetworkConditions (#6759) (5ea76e9)
- types: expose typedefs to consumers (#6745) (ebd087a)
- add iPhone 11 models to DeviceDescriptors (#6467) (50b810d)
- support fetching and launching on Apple M1 (9a8479a), closes #6495 #6634 #6641 #6614
- support promise as return value for page.waitForResponse predicate (#6624) (b57f3fc)
Bug Fixes
- domworld: fix waitfor bindings (#6766) (#6775) (cac540b)
- launcher: rename TranslateUI to Translate to match Chrome (#6692) (d901696)
- do not use old utility world (#6528) (fb85911), closes #6527
- update to https-proxy-agent@^5.0.0 to fix
ERR_INVALID_PROTOCOL
(#6555) (3bf5a55)