yarn puppeteer 0.13.0
v0.13.0

latest releases: 22.7.1, 22.7.0, 22.6.5...
6 years ago

Big Changes

  • Chromium 64.0.3264.0 (r515411)
  • browser.pages can be used to access all pages in Chromium, even those created by window.open. (32398d1)
  • browser.close now closes Chromium even if used with pupeteer.connect (2b79514)

Api Changes

Changed:

Added:

Bug Fixes

  • #386 - Support anchor navigation
  • #443 - Request: browser.currentPage() or similar way to access Pages
  • #508 - Recursive $/$$
  • #690 - Expose function doesn't add to frames the first time.
  • #723 - Keyboard API is confusing
  • #733 - Clip rectangles with odd-numbered height and width dimensions produce even-sized images.
  • #805 - Waiting for both load and networkIdle
  • #877 - Adopt plznavigate in puppeteer
  • #894 - Page closes itself silently
  • #901 - Provide reason for failed requests
  • #918 - userDataDir + headless = browser and script (node) hang
  • #946 - Provide 'DOMContentLoaded' option for waitUntil in page.goto()
  • #951 - Add possibility to configure download mirror
  • #955 - coverage script fail on windows
  • #989 - No way to close a browser instance that was opened with connect()
  • #1003 - Strange breaking change in page.evaluate()
  • #1020 - Request Interception enhancements
  • #1044 - LICENSE should be fixed
  • #1061 - Error when clicking on Shadow DOM element
  • #1082 - ElementHandle.click() broken in 0.12
  • #1126 - Click doesn't work as expected in non-Headless
  • #1139 - Missing ElementHandle.select; impossible (?) to make selection in a frame
  • #1163 - Test "Puppeteer.launch should support ignoreHTTPSErrors option" is flaky
  • #1173 - waitForNavigation should wait for all frames instead of only main frame
  • #1179 - Add an option to set data attributes on elements added by the API
  • #1195 - Test Page.goto should fail when navigating to bad SSL is flaky
  • #1218 - page.goto is littered with races
  • #1244 - Add page bringToFront method
  • #1276 - page.select() should error if it can't find an option with requested value
  • #1294 - Broken Click after upgrading to 0.12.0
  • #1315 - elementHandle.screenshot clip object uses wrong y value

Raw Notes

b0b2219 fix(ElementHandle.screenshot): account for scroll (#1323)
2c8f658 fix(Navigation): wait for lifecycle events for the frame subtree (#1356)
f8d19e7 fix(Page.waitForSelector): "visible" option should check parent visibility (#1354)
44d1e83 fix(Navigation): correctly wait for navigation in Page.goto (#1355)
9b907b9 docs(api): javascript -> JavaScript (#1338)
9c1935b feat(Chromium): roll chromium to r515411 (#1346)
7075c4c docs(troubleshooting): fix typo (#1327)
7d18275 Test: add tests to cover clicking checkbox (#1125)
73f5b80 fix(install): support for npm no_proxy (#1314)
b7566c1 docs: document osx keyboard shortcuts not working (#1311)
cbe3dc5 Revert "feat(Page): teach Page.setContent to wait for resources to load (#1152)" (#1312)
b58d319 fix(Page.click): throw a meaningful message for invisible elements (#1309)
3cb0f1a fix: make exposeFunction work for frames (#1295)
8c9332b docs(Readme): add loading extensions example (#1308)
77f5852 feat(Page): introduce Page bringToFront method (#1252)
9de3449 Additional Docker tips (#1235)
a467d35 chore(doclint): do not attempt to lint non-documentation markdown
cc5e8a9 fix(Page.type): Add assertion to page.type() (#1301)
2f7c778 feat: roll chromium to r514418 (#1299)
8e44573 feat(Frame): reject error for addScriptTag/addStyleTag (#1287)
bdd5718 docs(examples): added pupperender (#1293)
5e154dc fix(Page.select): assert all values are of type "string". (#1280)
03fefb5 feat(browser): add browser.disconnected event (#960)
88ba52a refactor: use Page.getFrameTree instead of Page.getResourceTree (#1275)
7bc55ab docs(api.md): fix return values of page.add*Tag() (#1269)
e0f5b93 feat(Frame): addStyleTag and addScriptTag now return ElementHandles.
f08f334 test: validate headless reading cookies written by headful (#1266)
cee3081 docs(api.md): fix return value of frame.select() (#1251)
ac55e69 feat(Chromium): roll chromium to r513435. (#1259)
fede264 feat(Frame): introduce Frame.select
bc7f211 docs(contributing): define semantic commit message rules (#1233)
f5bb333 fix: support PlzNavigate in puppeteer. (#1239)
b9266c7 feat(Page): rename Page.getMetrics into Page.metrics (#1240)
9f071bf fix(Navigation): do not race with security error for navigation (#1237)
e70f98d feat(Page.select): return selected options from Page.select (#1099)
9f19641 chore: Fix typo in comment for Events (#1234)
0bb2157 Explain how to run examples (#1226)
c9a26e1 fix(ElementHandle): teach ElementHandle to work with shadowdom (#1227)
557aa94 chore(license): fix license (#1220)
6dec7cf typo in api.md (#1216)
23382df Adding simple guide to run puppeteer on Heroku (#1199)
3bf18f2 chore(examples): use news.google.com for block-images.js (#1192)
380bb6a docs: use debug namespace instead of all namespaces (#1174)
d9acf1e test: remove irrelevant test (#1172)
e11dbd7 docs: add more keyboard examples for typing (#1176)
f9b017e chore(examples): update search example (#1181)
5ffbd0d feat(ElementHandle): add ElementHandle.$ and ElementHandle.$$ (#1151)
9e39f5f docs(troubleshooting): Add new buildpack url that adds additional fonts (#1161)
655b94d fix(touch): requestAnimationFrame before sending tap (#1142)
d1f044e test: disable ignoreHTTPSErrors test (#1164)
ab9b34c fix(Launcher): force-kill chrome on process exit and interruption (#1155)
b9ab6fe fix(interception): Disable newtork caching when intercepting (#1154)
ce005d4 feat(Chromium): Roll chromium to r511134 (#1153)
80ee469 feat(Page): teach Page.setContent to wait for resources to load (#1152)
f38c8bb feat(Page.goto): support multiple events in waitUntil option (#1147)
ef369e5 feat(Page.goto): add a 'domcontentloaded' option to the Page.goto (#1145)
ce8a952 refactor: migrate NavigatorWatcher to lifecycle events (#1141)
126ab7b feat(keyboard): Accept codes (#1116)
945a826 feat(install): add environment variable to overwrite host part of url (#958)
c9e1a2d docs(api): document that JSHandle.jsonValue might return error/blank (#1118)
9603bab chore(yarn): update yarn lock #1113
bcc969c feat(interception): Implement request.mockResponse method (#1064)
7f60e33 feat(Chromium): roll Chromium to r510398 (#1112)
5c92ba2 fix(page.evaluate): jsonValue should ignore toJSON property (#1098)
0f64f3e test: add test to make sure clipping is correct on retina displays (#1111)
ace239c feat(Chromium): roll Chromium to r510141 (#1101)
4f64dfd feat(Request): allow aborting intercepted requests with custom reasons (#1080)
7fbd2cb chore(typescript): switch to 2.6-rc (#1078)
f67ae57 test(cookies): enable cookies restoration test (#1075)
eee168a chore(downloader): fix typo in error exception message (#1076)
b3857bd fix(page): page.close() assert that connection is not closed (#1038)
e943efe feat(chromium): roll chromium to r509368 (#1063)
32398d1 feat(Browser): introduce Browser.pages() (#554)
273c733 feat(Request): introduce Request.failure() method (#1065)
8717203 chore(examples): Fixed a typo in examples/proxy.js (#1073)
2b79514 feat(Browser): make browser.close() to always terminate remote browser
fbee98a chore(examples): add missing argument to search example (#1066)
9fab3fd chore(readme): use shields.io to display badges
0e4477a chore(travis): explicitly define node version in .travis.yml (#1069)
6f97b71 test: Add a failing test for storing cookies (#1055)
aebbcf2 docs(api): queryObjects returns a Promise (#1053)
a73a674 docs(api): fix comments in the diagram description
d051391 chore: Add windows CI (appveyor) (#1046)
e7eb7b3 docs(api): add hierarchical diagram (#1040)
e3eec24 docs(api): add missing 'hidden' option on frame.waitForSelector
5686d53 chore: bump version to 0.13.0-alpha

Don't miss a new puppeteer release

NewReleases is sending notifications on new releases.