Taking website screenshots with Firefox
Following command will take a screenshot of the website and save it as a file (screenshot.png
):
You can also change the window size and save the screenshot to a specific file:
Taking website screenshots with Google Chrome
You can capture a website with Google Chrome using the following command:
or you can print whole page to PDF:
Ger more information about Chrome Headless mode