Update dependency puppeteer to ^0.13.0 #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.9.0
->^0.13.0
Release Notes
puppeteer/puppeteer (puppeteer)
v0.13.0
Compare Source
Big Changes
browser.pages
can be used to access all pages in Chromium, even those created bywindow.open
. (32398d1
)browser.close
now closes Chromium even if used withpupeteer.connect
(2b79514
)Api Changes
Changed:
PUPPETEER_DOWNLOAD_HOST
can be specified to overwrite host part of URL that is used to download Chromium (945a826
)browser.close
now closes Chromium even if used withpupeteer.connect
(2b79514
)waitUntil
option'load'
'domcontentloaded'
(ef369e5
)'networkidle0'
(ce8a952
)'networkidle2'
(ce8a952
)page.setRequestInterceptionEnabled
was renamed topage.setRequestInterception
(ce005d4
)code
andkey
strings (126ab7b
)frame.waitForSelector
accepts optionhidden
(e3eec24
)jsHandle.jsonValue
now ignorestoJSON
methods on objects (5c92ba2
)request.abort
accepts an error code (4f64dfd
)page.addStyleTag
andpage.addScriptTag
now return an ElementHandle for the tag that was added (e0f5b93
)page.getMetrics
was renamed topage.metrics
(b9266c7
)page.select
returns an array of all option values that were successfully selected (e70f98d
)Added:
event: 'targetchanged'
(32398d1
)event: 'targetcreated'
(32398d1
)event: 'targetdestroyed'
(32398d1
)event: 'disconnected'
(32398d1
)browser.disconnect
(03fefb5
)browser.pages
(32398d1
)browser.targets
(32398d1
)elementHandle.$
(5ffbd0d
)elementHandle.$$
(5ffbd0d
)frame.select
(fede264
)page.bringToFront
(77f5852
)request.failure
(273c733
)request.respond
(bcc969c
)class: Target
(32398d1
)Bug Fixes
load
andnetworkIdle
Page.goto should fail when navigating to bad SSL
is flakypage.goto
is littered with racesRaw 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 markdowncc5e8a9
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.selectbc7f211
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 #1113bcc969c
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 browserfbee98a
chore(examples): add missing argument to search example (#1066)9fab3fd
chore(readme): use shields.io to display badges0e4477a
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 descriptiond051391
chore: Add windows CI (appveyor) (#1046)e7eb7b3
docs(api): add hierarchical diagram (#1040)e3eec24
docs(api): add missing 'hidden' option on frame.waitForSelector5686d53
chore: bump version to 0.13.0-alphav0.12.0
Compare Source
Big Changes
page.queryObjects
method to query javascript heappage.getMetrics
andevent: 'metrics'
to measure page performancepage.setOfflineMode
to test page offline behaviorAPI changes
Changed:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
is supported in npmrc (2babcb0
)event: 'console'
dispatches instances of ConsoleMessage instead of array of stringskeyboard.down
generates input event by default (6a8865c
)page.addScriptTag
accepts options object instead of URL (c310f13
)page.goBack
accepts0
to disable timeout (53531c9
)page.goForward
accepts0
to disable timeout (53531c9
)page.goto
accepts0
to disable timeout (53531c9
)page.pdf
has a newA6
page format (3f9f0f4
)page.reload
accepts0
to disable timeout (53531c9
)page.waitForSelector
has a newhidden
option (8511db9
)puppeteer.launch
devtools
option (f1aa18a
)env
option (c225b93
)Added:
class: ConsoleMessage
(f625502
)class: ExecutionContext
(e6af6e1
)class: JSHandle
(e6af6e1
)elementHandle.boundingBox
(7e28dba
)elementHandle.focus
(0af0d7d
)elementHandle.press
(0af0d7d
)elementHandle.screenshot
(7e28dba
)elementHandle.type
(0af0d7d
)event: 'metrics'
(b82d319
)page.$$eval
(7a8aa73
)page.addStyleTag
(c310f13
)page.getMetrics
(b82d319
)page.queryObjects
(23c0ba0
)page.select
(45f2640
)page.setOfflineMode
(a02347e
)Removed:
page.injectFile
-page.addScriptTag
now should be used. (c310f13
)page.plaintText
- innerText/textContent could be obtained withpage.evaluate
. (1fbf2a8
)Bug Fixes
addStyleTag(url)
APIinjectFile
toinjectScript
and addinjectCSS
Raw notes
b555151
- chore: mark version 0.12.06a8865c
- feat(keyboard): make keyboard.down generate input event by default (#1016)a02347e
- feat(Page): implement page.setOfflineMode (#1032)fd88eb5
- feat(chromium): roll chromium to r508693 (#1031)8511db9
- feat(page): waitForSelector hidden option (#967)8f430fb
- fix(ElementHandle.boundingBox): account for margin, padding, and border in element.boxModel (#1017)1c52830
- feat: roll to 508367 (#1027)053534b
- chore: update yarn lock #1025c310f13
- feat(Frame): Support options inaddScriptTag
andaddStyleTag
(#996)0426e3c
- Roll chromium to 508268 (#1019)c893bf3
- fix(input) Send .code with keyboard events (#1015)23c0ba0
- feat(Page): introduce Page.queryObjects (#1005)3f9f0f4
- feat(Page.pdf): add 'A6' page format9ecf20f
- chore: Allow development under Windows platform (#992)ff08e45
- fix: Remove synchronous operation with file system. (#879)7a8aa73
- feat(Page): introduce Page.$$eval method (#1006)464b6a9
- fix(Page.getMetrics): do not report a few metrics (#1001)b82d319
- feat(Page): Support Page.getMetrics and metrics event. (#939)77d3c29
- test(launcher): add a test for invalid executablePath option13f100b
- docs(api): fix typo1fbf2a8
- feat(Page): kill the page.plainText method (#994)079db90
- fix(JSHandle.toString): clearer description for primitives (#993)c3fb367
- fix(Request): convert resourceType to all small-caps (#990)7e28dba
- feat(ElementHandle): add EH.boundingBox and EH.screenshot515f2cd
- feat: Roll to r507565 (#987)e59172d
- chore: Use Typescript to lint JSDoc annotations (#986)7b5d7dd
- docs(readme): fix typo (#988)f1aa18a
- feat(Launcher): add devtools option (#953)e6af6e1
- feat(console): dispatch JSHandles as console arguments (#975)8d1d9fe
- chore(doc): replace 'could' with 'can'52f92c9
- fix(input): clicking an element should take into account frame position (#971)a7672ac
- fix: return undefined when Page.evaluate encounters circular JSON (#983)3ecd98d
- fix(Page.select): synthesized events should bubble44cdf85
- chore(doc): fix a link (#977)4e55867
- chore(doc): fix nits after JSHandles PR (#976)3214bb7
- chore(doc): fix implicit link to JSHandle0af0d7d
- feat(Input): Add keyboard methods to elementHandle (#801)0d0f9b7
- feat(JSHandles): introduce JSHandles (#943)59bcc2e
- chore(docs): fix console example in docs/api.mdd3976cb
- test: add failing test for storing data in custom userDataDirc225b93
- feat(Launcher): Allow environment variables definition when launching chromium (#912)97e40e6
- feat(Frame): AddaddStyleTag
API to frame - fixes #892 (#947)d87480b
- Node6: Remove parentheses around the body of async arrow functions (#942)dc4c878
- chore(doclint): fix doclint tests (#941)017429e
- chore(doclint): exclude constructors by default (#938)6c9a994
- chore(doclint): support classes inheritance (#935)8bcf550
- chore(doclint): add basic tests for documentation parsers (#934)41fd4b5
- chore(doclint): move doclint tests expectations into test folders (#932)f9640a5
- chore(doc): add a note about using ElementHandle instances (#925)215b349
- fix(Page): remove event listeners to avoid MaxListenersExceededWarning53531c9
- feat(page): Allow Page.goto's timeout to be0
to disable timeout (#887)bafd937
- chore(tests): fix a few typos in tests (#911)a6cf823
- feat(Launcher): introduce appMode option1c292e9
- chore(doc): fix browser.wsEndpoint() return value format (#898)c46c41d
- fix(Launcher): Launcher should handle chrome process errors (#863)cb280c5
- fix(Launcher): Terminate chrome gracefully on Windows (#876)f625502
- feat(Console): Introduce ConsoleMessage type (#909)cfece34
- fix(Network): Do not attempt to normalize malformed URLs. (#875)ec760ab
- chore: update yarn lock (#889)72161c4
- [roll] Roll chromium to r503964 (#878)0164b7c
- Added info on how to find the browserWSEndpoint (#780)9b0a062
- [docs] clarify env variables usage with npmrc2babcb0
- [feat] Support PUPPETEER_SKIP_CHROMIUM_DOWNLOAD in npmrc45f2640
- [api] Introduce Page.select method (#779)acdb588
- doc: fix a link (#856)ccf8fb1
- readme: add try-puppeteer link (#849)c2b3fe9
- Remove --no-sandbox from Docker example (#838)bc4aefa
- Bump version to 0.12.0-alphav0.11.0
Compare Source
Big Changes
API changes
Changed:
page.evaluate
now accepts element handles as arguments (9292a56
)Added:
page.authenticate
(0db6165
)puppeteer.executablePath
(d7e6736
)Removed:
elementHandle.evaluate
was removed: element handles could be passed as arguments intopage.evaluate
(9292a56
)Bug Fixes
Raw notes
611f51b
- [doc] Fix thal link (#806)aa58f25
- doc: add await to browser.close in usage examples (#797)e2cad56
- page.waitFor should send ...args to page.waitForFunction (#775)d562db3
- Assert that all extra HTTP header values are strings (#781)86b05da
- disable extensions and google translate by default (#774)a20df0d
- [Doc] add link to environment variable wiki page (#792)166c909
- [tests] fix a few tests to avoid unhandled promise rejection (#778)f398e69
- [api] Launcher: Close gracefully when a userDataDir is specified (#700)d7e6736
- [api] add Puppeteer.executablePath() method (#771)89e923d
- Fix cookies test on windows (#772)0108720
- Cleanup tests (#769)9779085
- Add info about deploying puppeteer to Heroku (#762)9292a56
- [api] Teach page.evaluate to accept element handles as parameters (#725)69e707a
- Build node6 before running tests for it (#757)a71f287
- Fix evaluation in case of first "undefind" argument (#732)e5c17ee
- Carefully manage unhandled rejections for navigation (#741)0db6165
- [api] Implement page.authenticate method (#729)0bea42b
- Do not leave dangling promises when sending messages over protocol (#742)f11e09d
- resources.md -> readme.md so it renders on /examples (#753)568b7bd
- Proposal: adding RESOURCES.md for examples (#743)30541cc
- block-images example: use reuters.com (#747)c4a3d44
- Roll chromium to r499413 (#731)d791583
- [tests] Skip flaky test (#730)b8bb80a
- support npm proxy configuration for the installation script (#692)[
8d2a427
](https://redirect.github.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.