Skip to content

Uses puppeteer to get the HTML of a page and save it to a file (or optionally output it to the console).

License

Notifications You must be signed in to change notification settings

GoodeUser/puppeteer-prerenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppeteer-prerenderer

Usees puppeteer to get the html of a page and save it to a file (or optionally output it to the console)

parameter description required example
-u, --url The url you want to render true --url="http://www.google.com"
-o, --output The ouput path true --output="./test.html"
-t, --time The amount of time (in milliseconds) to wait before rendering false --time=1000
-e, --element css selector to wait for before rendering false --element="#q"
-m, --minify if flag is passed will minify html (and inline js/css) false --minify

About

Uses puppeteer to get the HTML of a page and save it to a file (or optionally output it to the console).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published