I am using Selenium WebDriver to perform some webscraping. Based on the website URL given by the user, Selenium will bring up the website, and take a screenshot.
I've also added an interval feature, such that every 1 minute or whatever timing the user has selected, the script will re-visit the website again and take a screenshot.
All these output are saved to a directory specified by the user.
The first time round I run it is fine. I received my screenshot in the directory I specified.
After 1 minute, the script will start up again and everything seems to be running normally, but the directory is missing the additional screenshots.