Take full page screenshot from the provided url
- Save this script to a file
- Make it executable using
chmod +x screenshot_script.sh
- Run it with
./screenshot_script.sh
- Note: Make sure chrome browser is installed in your system
- Enter the folder name where you want to save the screenshot. It will use relative path. By default it will create/use
screenshots
folder - Input name of URLs you want to take screenshot. Enter them in next line. Type done when you are done Ex:
https://github.com/upasana05ghosh
https://github.com/upasana05ghosh?tab=repositories
done
- Please wait for sometime so screenshots are captured. The wait time is 5s for now.
- It will open chrome browser
- Open the input url one by one
- Wait for 5 sec/wait time so URL is open by the time being.
- Take full page screenshots
- Save it to a folder provided or default
screenshots
folder