I am running a simple piece of code that downloads a website through proxy, however sometimes the proxy can be slow and this can cause the WebDriver .get(url) request to block indefinitely.
Is there a simple piece of Python code for WebDriver that will set a timeout for this function? Through searching I've only found techniques that work for java.
driver.get(url)
driver.get(URL)