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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

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