Example Puppeteer
No credit card required
Example Puppeteer
No credit card required
Example showing how to use headless Chromium with Puppeteer to open a web page, determine its dimensions, save a screenshot, and print the page to PDF. This actor must use images with Puppeteer (Node.js 8 + Puppeteer on Debian).
Do you want to learn more about this Actor?
Get a demoYou can access the Example Puppeteer programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{}' |
2apify call apify/example-puppeteer --silent --output-dataset
Example Puppeteer API through CLI
The Apify CLI is the official tool that allows you to use Example Puppeteer locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Actor Metrics
8 monthly users
-
6 stars
80% runs succeeded
Created in Oct 2017
Modified 6 months ago