Skip to content

pamcy/Browser-Automation-with-Puppeteer

Repository files navigation

Browser-Automation-with-Puppeteer

Puppeteer is a Node library API that allows us to control headless Chrome. There’s so much you can do with Puppeteer, I will use it to get snapshot of a web page and scrape Github.

Coding

Take a fullpage snapshot

Set default viewport size to 1440 x 900, then it will loop through 3 links and generate fullpage website screenshots.

Scrape Github's 20 most forked Puppeteer repos

Login to Github to extract top 20 most forked Puppeteer repos and store these data as a json file.

Here’s the final result!

About

Get a full page screenshot and scrape Github with Puppeteer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published