I am running a simple piece of code that loads a website through a proxy server, however sometimes the proxy server can be slow, and this can cause the WebDriver.get (url) request to be blocked indefinitely.
Is there any simple Python code for WebDriver that will set a timeout for this function? Through a search, I found methods that work for java.
driver.get(url)
python selenium timeout webdriver driver
Aaron hiniker
source share