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
Post a Comment