mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
0bb2157743
* Explain how to run examples * Update README.md * Update README.md |
||
---|---|---|
.. | ||
.eslintrc.js | ||
block-images.js | ||
custom-event.js | ||
detect-sniff.js | ||
pdf.js | ||
proxy.js | ||
README.md | ||
screenshot-fullpage.js | ||
screenshot.js | ||
search.js |
Running the examples
Assuming you have a checkout of the Puppeteer repo and have run yarn (or npm i) to install the dependencies, the examples can be run from the root folder like so:
NODE_PATH=../ node examples/search.js
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
- angular-puppeteer-demo - Demo repository explaining how to use Puppeteer in Karma.
- mocha-headless-chrome - Tool which runs client-side mocha tests in the command line through headless Chrome.