scala - Wait for element with Selenium - what is the different of using pollingEvery -


consider this:

fluentwait fluentwait = new fluentwait[webdriver](driver)       .withtimeout(timeout, timeunit.seconds)       .pollingevery(10, timeunit.seconds)  fluentwait(120).until(expectedconditions.elementtobeclickable(element)) 

what different of using fluentwait pollingevery , without pollingevery ? pollingevery going ?

in fluent wait, if specify pollingevery, driver check availability particular element, every n (10 in case) seconds (frequency) specified pollingevery(10, timeunit.seconds). if not specify same, default check frequency of 500 milliseconds.

hope helps


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -