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