Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 764
Fix #203#210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #203 #210
Uh oh!
There was an error while loading. Please reload this page.
Conversation
TikhomirovSergey commented Jun 26, 2015
After the coversation with @Simon-Kaz I'm going to improve the new annotation @WithTimeout(time = 20, unit = TimeUnit.SECONDS) |
Jonahss commented Jun 26, 2015
oh I like this. Definitely makes it easier to define tests. Will merge when @TikhomirovSergey and @Simon-Kaz gives thumbs-up |
TikhomirovSergey commented Jun 26, 2015
I've finished |
...and unused import
Simon-Kaz commented Jun 29, 2015
👍 Going to use this a lot :) |
Jonahss commented Jun 29, 2015
super. |
truebit commented Apr 26, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
I used What I did in the driver wrapper class is like below. publicvoidsetTimeOut(longimplicitlyWaitTimeOut, TimeUnittimeUnit){timeOutDuration.setTime(implicitlyWaitTimeOut, timeUnit); getDriver().manage().timeouts().implicitlyWait(timeOutDuration.getTime(), timeOutDuration.getTimeUnit()); getDriver().manage().timeouts().pageLoadTimeout(timeOutDuration.getTime(), timeOutDuration.getTimeUnit())}here below is the log when trying to finding an element for accessibility named "我的". In the log, there are two timeouts requested. one is using
Could you tell me why timeout 0 is requested instead of my custom set (10)? and what is the correct way doing global wait timeout for all PageObjects? |
Change list:
Use case:
Use case:
If it is extramally needed to change default time for the waiting of elements the following is possible: