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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -