Is there any method in Python + Selenium for retrieving the webdriver's current page load timeout?
I know to use set_page_load_timeout() and examining the Chromedriver logs shows that this modified its internal state so I am wondering if there's way to query for it?
Alternatively, I will simply save the value on my side of the code. The retrieval would be helpful to verify that the timeout was successfully set and later on that it's still the same.
When you initialize the WebDriver it is configured with a default
page_load_timeoutof 300000 seconds which you can extract from the capabilities dictionary as follows:Code Block:
Console Output: