I need to get page load timeout for current driver object to be able to make something like this:
old_timeout = <get somehow current page load timeout value from self.driver>
new_timeout = 100
self.driver.set_page_load_timeout(new_timeout)
self.driver.get('https://stackoverflow.com')
self.driver.set_page_load_timeout(old_timeout)
In other words, I just want to get current timeout setting, change it to new one, do something and after that restore setting how it was. The only thing in this chain I don't know how to do - is to get current timeout setting.
I don't want to measure how long will it take to load page.
The idea is to change this setting for 1-time request and return it back how it was.
Thanks in advance.