Bulk Screenshot Capture v.1.0.0
First release of this tool that captures screenshots of web pages that are specified in a CSV file. The script uses Python, Selenium, and the Chrome WebDriver to visit each URL, capture a screenshot, and save a cropped PNG to a specified folder.
- The script ensures that all URLs start with http:// or https:// and encodes them to prevent errors.
- Screenshots are cropped to the top 600 pixels of the web page. This can be adjusted by changing the
crop_height
variable inbulk_screenshot_capture.py
. - The script prints errors to the console that may occur when capturing a screenshot.
The README has detailed usage instructions, including how to install dependencies, setting the path to the Chrome WebDriver executable, updating the CSV file, and run the script.
Known Issues
- The script requires the Chrome WebDriver to be installed and the path to the executable to be provided. If the path is not correctly set, the script will not run.
- The script only supports Chrome version 120.0.6099.71. If you're running a different version of Chrome, the script will likely not run.