How does pageload timeout in selenium webdriver work? Once set using


what is lifetime of the timeout?

2 Answers 2


Every driver.manage().timeouts() value lives till the instance of the driver is alive, be it the default value or a custom value set by the user.

So to answer your question- Once you set a driver.manage().timeouts().pageLoadTimeout() value it will remain constant throughout the lifetime of your driver instance. If you want to change the value you will have to reset it. Brief explanations on the waits here.


The default pageLoadTimeout() is a member of Timeouts interface which is set to never in wevdriver according to this. But, it is possible to overwrite. See here

  • 1
    yeah, but my question was different. If i set pageLoadTimeout to a value, is it set for lifetime of driver instance or just next command? Dec 15, 2014 at 5:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.