Do WebDriver implicit waits affect both findElement AND findElements? -


or affect findelement? example, if want test element not exist on page, want use findelement (which slow due implicit waiting), or can use findelements(..).size() == 0 (for example)?

yes. implicit wait firm driver instance , instantiate driver apply findelement mechanism. explicit wait best bet in terms of waiting element since explicit wait not have influence on entire driver instance.

please note implicit wait has influence on explicit waits. mixing them both never recommended. see this


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -