How does pageload timeout in selenium webdriver work? Once set using
what is lifetime of the timeout?
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
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.