We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are new versions of puppeteer available from npm.
page.coverage
page.pdf()
page.$x
frame.$x
elementHandle.$x
target.createCDPSession()
dialog.type
dialog.type()
console.args
console.args()
console.text
console.text()
console.type
console.type()
request.headers
request.headers()
request.method
request.method()
request.postData
request.postData()
request.resourceType
request.resourceType()
request.url
request.url()
response.headers
response.headers()
response.ok
response.ok()
response.status
response.status()
response.url
response.url()
puppeteer.launch
handleSIGTERM
handleSIGHUP
ignoreDefaultArgs
page.pdf
headerTemplate
footerTemplate
page.waitFor()
JSHandle
page.waitForFunction()
page.waitForSelector()
ElementHandle
page.tracing.start()
categories
puppeteer.defaultArgs()
browser.process()
browser.userAgent()
page.$x(expression)
frame.$x(expression)
elementHandle.$x(expression)
frame.content()
frame.setContent(html)
request.frame()
page.setDefaultNavigationTimeout(timeout)
page.target
page.coverage.startCSSCoverage(options)
page.coverage.startJSCoverage(options)
page.coverage.stopCSSCoverage()
page.coverage.stopJSCoverage()
cacheDirectory
page.waitForFunction
test-cra
browser.version()
babel-plugin-transform-regenerator
babel-plugin-transform-runtime
app/react/package.json
12b57e3 - chore: mark version v1.0.0 (#1786) d68033a - chore(examples): indent all examples (#1783) 891a553 - docs(troubleshooting): add note on using ldd to find missing deps (#1780) 9b06ed2 - docs(README): updates to make d.g.c/web/ happy (#1773) 5368051 - feat: expose raw devtools protocol connection (#1770) ec8e40f - feat(Page): Add global navigation timeout setting (#1728) 3985dee - docs(API): add more explicit examples for page.evaluate (#1711) 9634d13 - fix: requestInterception should play nicely with canceled redirects (#1758) f6b7c13 - chore(install): mention yarn along npm in the error message (#1759) c29822d - feat: Attribute network requests to frames (#1646) 5843f6f - fix: setRequestInterception and setExtraHTTPHeaders not working together (#1734) dcc1b24 - chore(Page): Add missing return comments in addScriptTag and addStyleTag (#1753) 71089b0 - feat: teach Downloader to respect redirects (#1741) d7d9623 - fix: downloader host fault tolerance (#1739) 8c392b7 - docs(api.md): add missing parentheses after page.mainFrame (#1738) 7c9104e - docs(README): add note on features not supported by Chromium (#1572) 7c9104e - docs(README): add note on features not supported by Chromium (#1572) 972f44d - fix: avoid calling jsonValue from waitFor (#1746) 8e9c54a - feat: introduce browser.userAgent() (#1716) 05b1aca - feat: support JSHandles for page.waitFor* calls (#1712) 32a7fd5 - docs(troubleshooting): add note on --disable-dev-shm-usage for Docker (#1603) ed3fc47 - test: don't show max listeners warning when running tests in parallel (#1722) e7eacd4 - test: scrub port from coverage golden files (#1723) f0b11ad - test: verify serialization of "undefined" fields (#1721) 3481f03 - feat(Chromium): roll Chromium to r526987 (#1720) 0a498ba - docs: update api.md 24354a4 - feat: implement CSS Coverage (#1714) f183664 - feat: rename page.xpath into page.$x, return an array of elements (#1713) d062381 - feat: Implement JavaScript Coverage (#1673) bd73e4b - chore: use unique version for puppeteer@next (#1688) 05f4f94 - test: add server/run.js that runs assets locally (#1687) 508a78d - test: prohibit focused tests/suites on bots (#1686) 16dc037 - chore: update credentials for puppeteer@next auto-deploy (#1685) e32fdcb - chore(issue template): Add Node.js version to Issue template(#1683) (#1684) d82402a - test: add dblclick input test (#1675) 4f6d395 - chore: puppeteer@next attempt 2 (#1677) 83fb29d - docs: use less confusing synonym efbc52a - docs: fix typos (#1647) 35a5d8b - chore(NavigationWatcher): correct closure annotation (#1658) bf3e0cc - docs: add missing session cookie property to api.md (#1672) 02720e4 - test: do not leave dangling listener on shared browser object (#1674) e7bcc05 - chore: push successful travis builds to npm as puppeteer@next (#1671) fc2fc0d - test: run chrome with --disable-dev-shm-usage (#1633) b2389b0 - feat(emulation): add iPhone X and iPhone X landscape (#1631) 8a40cd5 - feat(Launcher): allow the default arguments to be overridden (#1623) f8040cb - feat(pdf): add headerTemplate and footerTemplate to available PDF options (#1625) 48f5f2e - feat(Chromium): roll chromium to 524617 (#1630) 671d464 - test: await all navigations in tests (#1629) 60ba8c3 - feat: add page.xpath (#1620) 1684104 - docs(troubleshooting.md): add missing temp missing shared lib (#1628) b737373 - fix: convert all getters to methods (#1621) 10f3b92 - test: Fix broken Tracing unit tests (#1613) 18d5cfa - fix(Cookies): disallow setting cookies in 'about:blank' page (#1567) be438c5 - chore(testrunner): support first-class test debugging (#1606) a3a3774 - test: nicer matchers output (#1605) cb1cb69 - chore(search) - search developers.google.com for "Headess chrome" articles (#1586) 4c58881 - doc: Add headless-chrome-crawler to example's README (#1585) 63f7e38 - docs(README.md): Update docs to more clearly differentiate between Chromium and Chrome (#1574) a5db6d4 - test: migrate test.js to support concurrent test execution (#1531) 4eaf52f - feat(Browser): introduce browser.process() variable (#1581) a164524 - feat(Connection): nicer stack traces on protocol errors (#1383) ea5da00 - chore: remove search.js example (#1564) f19e2ad - feat(install): build node6 support when installing from github (#1562) fc1f15e - test(testrunner): fix the 'timeout: 0' test runner setting (#1561) 391d1ab - chore: generalize node6 transpilation (#1560) 9a50868 - refactor: move ChromiumDownloader under lib/ (#1554) 11d9452 - chore: fix appveyor build (#1558) e6725e1 - tests: drop jasmine test runner (#1519) c4083f0 - feat(Chromium): roll Chromium to r522446 (#1499) 696f59e - docs(api.md): Note that Browser and Page extend from EventEmitter (#1541) 16320b7 - fix(Page.screenshot): prioritize screenshot type over filename extension (#1526) 9fc39a4 - test: disable 'userDataDir option should restore cookies' (#1538) c55f4e3 - feat(installer): Support HTTP mirror (#1372) b28adbb - fix(Downloader): better handling for HTTPS proxy (#1508) 90f799c - chore: remove excessive whitespace (#1375) 5a64888 - feat(Tracing): allow custom tracing categories (#1439) 42fd41c - chore: use string literal in require for index.js (#1511) c58c70e - test: deflake tween mouse test (#1515) 2becd15 - feat(Chromium): roll Chromium to r518818 (#1455) 770c17b - feat(Frame): implement frame.content and frame.setContent methods (#1447) 3b60ad1 - doc(api.md): ElementHandle.boundingBox() returns a promise (#1437) 88eaede - fix(page): fix "timeout: 0" to actually disable any navigation timeout (#1435) cafd040 - fix(Network): be prepared to miss requestWillBeSent events (#1420) ea70ac9 - fix(Page.goto): check navigation completeness on frame detachment (#1419) 6512ce7 - fix(Frame): postpone evaluations until execution context gets created (#1415) 48ccf1e - doc(api.md): add evaluateOnNewDocument examples (#1202) 90ca007 - fix(Launcher): handle SIGHUP signal (#1405) a350e89 - chore(Browser): fix jsdoc in Browser.create method (#1403) cc0c461 - fix(Launcher): handle SIGTERM by default (#1402) d8ac8fc - docs(api.md): fix return signatures that contains null (#1364) 99103cb - chore: bump version to 1.0.0rc (#1389)
require
The text was updated successfully, but these errors were encountered:
Hypnosphi
No branches or pull requests
There are new versions of puppeteer available from npm.
1.0.0
Big Changes
page.coverage
namespace with CSS and JavaScript coverage supportpage.pdf()
now supports header/footer customizationpage.$x
/frame.$x
/elementHandle.$x
target.createCDPSession()
to work with the raw Devtools Protocol.API Changes
Changed:
dialog.type
getter became a methoddialog.type()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)console.args
getter became a methodconsole.args()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)console.text
getter became a methodconsole.text()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)console.type
getter became a methodconsole.type()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)request.headers
getter became a methodrequest.headers()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)request.method
getter became a methodrequest.method()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)request.postData
getter became a methodrequest.postData()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)request.resourceType
getter became a methodrequest.resourceType()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)request.url
getter became a methodrequest.url()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)response.headers
getter became a methodresponse.headers()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)response.ok
getter became a methodresponse.ok()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)response.status
getter became a methodresponse.status()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)response.url
getter became a methodresponse.url()
(b73737302a5dbfc5cd67f37be8460e53ab4f417f)puppeteer.launch
accepts more options:handleSIGTERM
(cc0c461ea8ff19f856df95a7a32d24cc9b61126c)handleSIGHUP
(90ca0073679830bb39b4ce549ff8ed513c8a36ed)ignoreDefaultArgs
(8a40cd5eef86fe8c3a4894775de8e1d269836857)page.pdf
allows to customize header and footer with new options:headerTemplate
(f8040cb2a29214915900231c32103211f24f9f3f)footerTemplate
(f8040cb2a29214915900231c32103211f24f9f3f)page.waitFor()
now acceptsJSHandle
's as arguments and returnsJSHandle
it resolves to. (05b1aca21e5c2f221373d601d3b8ae6b2a984292)page.waitForFunction()
now acceptsJSHandle
's as arguments and returnsJSHandle
it resolves to. (05b1aca21e5c2f221373d601d3b8ae6b2a984292)page.waitForSelector()
returnsElementHandle
it resolves to. (05b1aca21e5c2f221373d601d3b8ae6b2a984292)page.tracing.start()
can be launched with custom tracing categoriescategories
options (5a6488883a34de76ace94e6ca85cede6abc8d487)Added:
puppeteer.defaultArgs()
(8a40cd5eef86fe8c3a4894775de8e1d269836857)browser.process()
(4eaf52fa1d107be9bac4cc86e709c12191502cad)browser.userAgent()
(8e9c54a789c9d51f9861053b21565ad21a5ffe6f)page.$x(expression)
(60ba8c3af9f18dbceb0ce93815d378bb423b658a)frame.$x(expression)
(60ba8c3af9f18dbceb0ce93815d378bb423b658a)elementHandle.$x(expression)
(60ba8c3af9f18dbceb0ce93815d378bb423b658a)frame.content()
(770c17b2eaefe3455b68b1cd29bb387f57c0cc79)frame.setContent(html)
(770c17b2eaefe3455b68b1cd29bb387f57c0cc79)request.frame()
(c29822d66318bc904b257153d377e5575ca8cc02)page.setDefaultNavigationTimeout(timeout)
(ec8e40f)page.target
(5368051)page.coverage.startCSSCoverage(options)
(24354a4879849c8cb4e50cfcae83d78f65938a93)page.coverage.startJSCoverage(options)
(d0623819785c91d262b7c5e8037cd67b606375a4)page.coverage.stopCSSCoverage()
(24354a4879849c8cb4e50cfcae83d78f65938a93)page.coverage.stopJSCoverage()
(d0623819785c91d262b7c5e8037cd67b606375a4)target.createCDPSession()
(5368051610babf52e7df927c323d315a493fb56f)Bug Fixes
cacheDirectory
option from babel config #1350 - setCookie() doesn't work?page.waitForFunction
should treat ElementHandle arguments as DOM elementstest-cra
example app. #1706 - Needs more information forbrowser.version()
babel-plugin-transform-regenerator
andbabel-plugin-transform-runtime
missing fromapp/react/package.json
#1729 - page.goto returns a promise to null when intercepting request and modifying referer togetherRaw Notes
12b57e3 - chore: mark version v1.0.0 (#1786)
d68033a - chore(examples): indent all examples (#1783)
891a553 - docs(troubleshooting): add note on using ldd to find missing deps (#1780)
9b06ed2 - docs(README): updates to make d.g.c/web/ happy (#1773)
5368051 - feat: expose raw devtools protocol connection (#1770)
ec8e40f - feat(Page): Add global navigation timeout setting (#1728)
3985dee - docs(API): add more explicit examples for page.evaluate (#1711)
9634d13 - fix: requestInterception should play nicely with canceled redirects (#1758)
f6b7c13 - chore(install): mention yarn along npm in the error message (#1759)
c29822d - feat: Attribute network requests to frames (#1646)
5843f6f - fix: setRequestInterception and setExtraHTTPHeaders not working together (#1734)
dcc1b24 - chore(Page): Add missing return comments in addScriptTag and addStyleTag (#1753)
71089b0 - feat: teach Downloader to respect redirects (#1741)
d7d9623 - fix: downloader host fault tolerance (#1739)
8c392b7 - docs(api.md): add missing parentheses after page.mainFrame (#1738)
7c9104e - docs(README): add note on features not supported by Chromium (#1572)
7c9104e - docs(README): add note on features not supported by Chromium (#1572)
972f44d - fix: avoid calling jsonValue from waitFor (#1746)
8e9c54a - feat: introduce browser.userAgent() (#1716)
05b1aca - feat: support JSHandles for page.waitFor* calls (#1712)
32a7fd5 - docs(troubleshooting): add note on --disable-dev-shm-usage for Docker (#1603)
ed3fc47 - test: don't show max listeners warning when running tests in parallel (#1722)
e7eacd4 - test: scrub port from coverage golden files (#1723)
f0b11ad - test: verify serialization of "undefined" fields (#1721)
3481f03 - feat(Chromium): roll Chromium to r526987 (#1720)
0a498ba - docs: update api.md
24354a4 - feat: implement CSS Coverage (#1714)
f183664 - feat: rename page.xpath into page.$x, return an array of elements (#1713)
d062381 - feat: Implement JavaScript Coverage (#1673)
bd73e4b - chore: use unique version for puppeteer@next (#1688)
05f4f94 - test: add server/run.js that runs assets locally (#1687)
508a78d - test: prohibit focused tests/suites on bots (#1686)
16dc037 - chore: update credentials for puppeteer@next auto-deploy (#1685)
e32fdcb - chore(issue template): Add Node.js version to Issue template(#1683) (#1684)
d82402a - test: add dblclick input test (#1675)
4f6d395 - chore: puppeteer@next attempt 2 (#1677)
83fb29d - docs: use less confusing synonym
efbc52a - docs: fix typos (#1647)
35a5d8b - chore(NavigationWatcher): correct closure annotation (#1658)
bf3e0cc - docs: add missing session cookie property to api.md (#1672)
02720e4 - test: do not leave dangling listener on shared browser object (#1674)
e7bcc05 - chore: push successful travis builds to npm as puppeteer@next (#1671)
fc2fc0d - test: run chrome with --disable-dev-shm-usage (#1633)
b2389b0 - feat(emulation): add iPhone X and iPhone X landscape (#1631)
8a40cd5 - feat(Launcher): allow the default arguments to be overridden (#1623)
f8040cb - feat(pdf): add
headerTemplate
andfooterTemplate
to available PDF options (#1625)48f5f2e - feat(Chromium): roll chromium to 524617 (#1630)
671d464 - test: await all navigations in tests (#1629)
60ba8c3 - feat: add page.xpath (#1620)
1684104 - docs(troubleshooting.md): add missing temp missing shared lib (#1628)
b737373 - fix: convert all getters to methods (#1621)
10f3b92 - test: Fix broken Tracing unit tests (#1613)
18d5cfa - fix(Cookies): disallow setting cookies in 'about:blank' page (#1567)
be438c5 - chore(testrunner): support first-class test debugging (#1606)
a3a3774 - test: nicer matchers output (#1605)
cb1cb69 - chore(search) - search developers.google.com for "Headess chrome" articles (#1586)
4c58881 - doc: Add headless-chrome-crawler to example's README (#1585)
63f7e38 - docs(README.md): Update docs to more clearly differentiate between Chromium and Chrome (#1574)
a5db6d4 - test: migrate test.js to support concurrent test execution (#1531)
4eaf52f - feat(Browser): introduce browser.process() variable (#1581)
a164524 - feat(Connection): nicer stack traces on protocol errors (#1383)
ea5da00 - chore: remove search.js example (#1564)
f19e2ad - feat(install): build node6 support when installing from github (#1562)
fc1f15e - test(testrunner): fix the 'timeout: 0' test runner setting (#1561)
391d1ab - chore: generalize node6 transpilation (#1560)
9a50868 - refactor: move ChromiumDownloader under lib/ (#1554)
11d9452 - chore: fix appveyor build (#1558)
e6725e1 - tests: drop jasmine test runner (#1519)
c4083f0 - feat(Chromium): roll Chromium to r522446 (#1499)
696f59e - docs(api.md): Note that Browser and Page extend from EventEmitter (#1541)
16320b7 - fix(Page.screenshot): prioritize screenshot type over filename extension (#1526)
9fc39a4 - test: disable 'userDataDir option should restore cookies' (#1538)
c55f4e3 - feat(installer): Support HTTP mirror (#1372)
b28adbb - fix(Downloader): better handling for HTTPS proxy (#1508)
90f799c - chore: remove excessive whitespace (#1375)
5a64888 - feat(Tracing): allow custom tracing categories (#1439)
42fd41c - chore: use string literal in
require
for index.js (#1511)c58c70e - test: deflake tween mouse test (#1515)
2becd15 - feat(Chromium): roll Chromium to r518818 (#1455)
770c17b - feat(Frame): implement frame.content and frame.setContent methods (#1447)
3b60ad1 - doc(api.md): ElementHandle.boundingBox() returns a promise (#1437)
88eaede - fix(page): fix "timeout: 0" to actually disable any navigation timeout (#1435)
cafd040 - fix(Network): be prepared to miss requestWillBeSent events (#1420)
ea70ac9 - fix(Page.goto): check navigation completeness on frame detachment (#1419)
6512ce7 - fix(Frame): postpone evaluations until execution context gets created (#1415)
48ccf1e - doc(api.md): add evaluateOnNewDocument examples (#1202)
90ca007 - fix(Launcher): handle SIGHUP signal (#1405)
a350e89 - chore(Browser): fix jsdoc in Browser.create method (#1403)
cc0c461 - fix(Launcher): handle SIGTERM by default (#1402)
d8ac8fc - docs(api.md): fix return signatures that contains null (#1364)
99103cb - chore: bump version to 1.0.0rc (#1389)
The text was updated successfully, but these errors were encountered: