puppeteer/examples
Andrey Lushnikov ce8a952044 refactor: migrate NavigatorWatcher to lifecycle events (#1141)
This patch:
- migrates navigation watcher to use protocol-issued lifecycle events.
- removes `networkIdleTimeout` and `networkIdleInflight` options for
  `page.goto` method
- adds a new `networkidle0` value to the waitUntil option of navigation
  methods

References #728.

BREAKING CHANGE:

As an implication of this new approach, the `networkIdleTimeout` and
`networkIdleInflight` options are no longer supported. Interested
clients should implement the behavior themselves using the `request` and
`response` events.
2017-10-23 18:10:59 -07:00
..
.eslintrc.js add 'use strict'; to examples (#530) 2017-08-24 17:33:41 -07:00
block-images.js fix(Request): convert resourceType to all small-caps (#990) 2017-10-10 10:53:37 -07:00
custom-event.js refactor: migrate NavigatorWatcher to lifecycle events (#1141) 2017-10-23 18:10:59 -07:00
detect-sniff.js refactor: migrate NavigatorWatcher to lifecycle events (#1141) 2017-10-23 18:10:59 -07:00
pdf.js refactor: migrate NavigatorWatcher to lifecycle events (#1141) 2017-10-23 18:10:59 -07:00
proxy.js chore(examples): Fixed a typo in examples/proxy.js (#1073) 2017-10-17 17:36:25 -07:00
README.md [doc] Fix thal link (#806) 2017-09-18 06:53:36 -07:00
screenshot-fullpage.js doc: add await to browser.close in usage examples (#797) 2017-09-15 21:27:14 -07:00
screenshot.js doc: add await to browser.close in usage examples (#797) 2017-09-15 21:27:14 -07:00
search.js refactor: migrate NavigatorWatcher to lifecycle events (#1141) 2017-10-23 18:10:59 -07:00

Other resources

Other useful tools, articles, and projects that use Puppeteer.

Web scraping

  • Puppetron - Demo site that shows how to use Puppeteer and Headless Chrome to render pages. Inspired by GoogleChrome/rendertron.
  • Thal - Getting started with Puppeteer and Chrome Headless for Web Scraping.

Testing