Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 485 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 485 Bytes

Chrome Dev in Docker

Setup

  • docker build -t chrome-dev .

Example script: Snapshotting pages

(Thanks to @pakastin for the initial command line :) )

python snapshot.py -p test.pdf https://google.com/
python snapshot.py -s test.png -w 800 -h 600 https://google.com/

Prior Art

Also see Jess Frazelle's Chrome Dockerfile, it's probably better and more secure.