Big Changes
- Chromium 62.0.3198.0 (r497674)
API changes
Changed:
page.setExtraHTTPHeaders
accepts object instead of map (66912a7)request.headers
are represented with object instead of map (66912a7)response.headers
are represented with object instead of map (66912a7)request.continue
represents headers overrides as object instead (66912a7)
Added:
puppeteer.launch
option (d5327e6):userDataDir
mouse.move
option (8f74cc8):steps
.
request.resourceType
(11ce8b2)PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
(9d7929c)page.$eval
andframe.$eval
(62ececb)page.tap
(64124df)page.touchscreen.tap
(64124df)elementHandle.tap
(64124df)
Bug Fixes
- #558 - apple.com page hanged when intercepting requests
- #547 - Headers in Response/Request object are case sensitive
- #509 - setExtraHTTPHeaders: support both object and Map as
headers
argument - #411 - Introduce --user-data-dir as part of launcher options
- #423 - dragging
- #594 - EventEmitter memory leak detected. 11 exit listeners added
- #615 - instance.close() let zombie process
- #647 - Errors suppressed when downloading chromium through the install script
- #568 - Can't click mobile version UI (touch event only)
- #569 - how to fire touch event in page.emulate(iPhone)
Raw notes
9d0ad79 - fail installation when puppeteer errors downloading chromium (#654)
64124df - [api] add touchScreen.tap (#639)
e95fb96 - Throw an error when Chromium download is failed (#619)
42fa3af - Remove promise jsdoc (#641)
62ececb - Implement page.$eval (#638)
bf66696 - correct license to be a valid SPDX license expression
a052cdb - Update package.json with Apache License 2.0 (#632)
ce01e84 - [doc] Clarify networkIdleInflight default in docs. (#630)
9d7929c - Add environment variable to skip download (#606)
3365562 - Add DEBUG=* debugging guide to readme (#622)
66676c0 - Kill child process group (#621)
223a106 - Drop deasync: this is a left-over from phantomShim (#607)
c9b0a6c - Fix launcher to not leak event listeners (#605)
11ce8b2 - Implement Request.resourceType getter (#590)
8f74cc8 - [api] Add "step" option to mouse.move method (#601)
77600c6 - Implement ElementHandle.attribute() method (#543)
74c53f3 - Roll chromium to r497674 (#588)
8f66f73 - Fix launcher in case of empty arguments (#582)
d5327e6 - [api] Allow a custom userDataDir to be specified (#555)
66912a7 - [api] use object instead of map for headers (#567)
39b9081 - Bump version to 0.10.2-alpha (#566)
59fc757 - [docs] a mistake in allowed values of page.evaluateMedia
(#580)
f9abc8e - readme: move up note about Page.pdf working on headless only (#577)
da85b44 - [docs] Add CentOS troubleshooting notes (#579)
225e880 - doc: Clarify that examples need Node v8 (#559)
e921a1c - Fix Request Interception (#565)