Skip to content

📸 Automate taking desktop and mobile screenshots of websites using puppeteer

Notifications You must be signed in to change notification settings

maxackerman/auto-screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script uses Puppeteer to get multiple size screenshots from a list of URLs.

Install

npm install

Run

  • Add each URL as a new line in urls.txt
  • Browser sizes can be edited in screenshot.js
  • npm run screenshot
  • Screenshots will be saved to the /export folder.

Browser Requirement

The script uses puppeteer-core in combination with your local Chrome browser installation. It looks for Chrome in the (osx) application folder. This setup allows .mp4 videos to work. When using the version of Chromium that comes bundled with puppeteer, .mp4 videos do not work.

About

📸 Automate taking desktop and mobile screenshots of websites using puppeteer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published