This is the code:
driver = webdriver.Chrome()
while True:
#do thing that require hours
#then i use selenium once
driver.get(link)
I need
Initially I had asked myself the same questions as @GregBurghardt had been asking in the comments till I analyzed the detailed error stack trace.
Yes, there is somehting amazing happening in those steps marked as #do thing that require hours
. Hence, instaed of showing Chrome browser version as chrome=76.0
, chrome=75.0
or chrome=74.0
it shows:
(Session info: chrome=192.168.0.0)
which is pretty much surprising.
It would be almost impossible to analyze the issue until and unless you update us why and how the Chrome version gets changed to such value.
Having said that, possibly your main issue is the incompatibility between the version of the binaries you are using.
Supports Chrome v63-65
Supports Chrome version 76
So there is a clear mismatch between the ChromeDriver v2.36 and the Chrome Browser v76.0
Ensure that:
@Test
as non-root user.driver.quit()
within tearDown(){}
method to close & destroy the WebDriver and Web Client instances gracefully.