I have a set of url's in an xml file. I'm planning to write a python program which will read each url and navigate to that web page and wait for a fixed time (eg. 30 sec) and then navigate to next url. The program will have to run for a very long time (say for 2 months and more).
from selenium import webdriver
driver = webdriver.Ie("e:\\IEDriver\\IEDriverServer.exe")
for url in url_list:
driver.get(url)
So using the above, are there any chances of program getting crashed while running for such prolonged period due to some reason unknown to me? Also any checks I need to do within the program like, memory usage, space usage etc. that will prevent the program from crashing.
If there are better ways to do this, please help me. Thanks in advance