Is it possible to set timeout for page load in Selenium test?
I have a problem, when sometimes test execution freezes on page load (application doesn't load new page, test hangs up), so test needs to be killed manually - this wouldn't be a problem if I would run only one test on nightly bases.
As I understand
driver.manage().timeouts().pageLoadTimeout() only works on
driver.get(URL) method - it doesn't work when Selenium clicks buttons and links during test execution. Is this correct? How can I manage time of wait for every page load?