Taking Screenshots of a Page (studentsv2.uit)

chromium-browser --headless --disable-gpu --screenshot --window-size=(width, height) (url)

For example:

chromium-browser --headless --disable-gpu --screenshot --window-size=1280,5000 https://futurestudents.yorku.ca/design

will output to screenshot.png

Please see Getting Started with Headless Chrome for other uses of Headless Chrome (e.g. output to PDF)