The same python selenium code to automate some functionality works fine till 1 to 1.5 years and suddenly stopped at a point
Puesdocode:
- The website is https website and need to authenticate the user.
- There are files which needs to be downloaded. (Maximum of 30 files in page)
- once downloaded all the files from page move to another page (At the bottom of page < pageno >, can be seen).
- As per step "<",">", these are the image icons. The problem comes here.
I can see that the icons are available and could find the web element and when "click()", i get an error
nextPageControl.click()
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout
(Session info: headless chrome=69.0.3497.100)
(Driver info: chromedriver=2.42.591071 (0b695ff80972cc1a65a5cd643186d2ae582cd4ac),platform=Linux 3.10.0-693.21.1.el7.x86_64 x86_64)
or the script hangs there indefinitely as page load didn't happen
Nothing seems to work, can find the chrome and webdriver version in the log