WebDriver wait | Selenium Forum
M
Posted on 25/01/2016
Hi Ashish,

I have attached a doc explaining my problem, kindly go through it.

Please help.

M
Replied on 25/01/2016

try to use this

driver.manage().timeouts().pageLoadTimeout(10, TimeUnit.SECONDS);


or implicit/explicit wait. don't use thread .sleep it makes project unstable.


M
Replied on 26/01/2016

Thanks for your reply.
Thats the problem, I am not able to apply the fluent wait because I am not sure what would be next page(object).


M
Replied on 27/01/2016

use this one there is no page object

driver.manage().timeouts().pageLoadTimeout(10, TimeUnit.SECONDS);