difference between Implicit Wait and Explicit Wait with syntax.?
Answer Posted / ravi teja
IMPLICIT WAIT:
This concept is only working for Find Element and Find Elements .
WebDriver driver = new FirefoxDriver();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
EXPLICIT WAIT:
It depends on condition by checking continuously
WebDriverWait w=new WebDriverWait(driver,100);
wait.until(ExpectedConditions.invisibilityOfElementLocated(By.xpath("//*[@class='firstname']")));
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain what is selenium ide?
What are the test types supported by selenium?
Which are the browsers supported by selenium ide?
What is the difference between selenium and sikuli?
List out the names of programming languages, browsers and operating systems that are supported by selenium.
How is selenium different from qtp?
Is the firefoxdriver a class or an interface?
What is robot api?
Do you know any alternative test automation tools for selenium?
What are the uses of findelement() and findelements()?
To enter values onto text boxes what is the command that can be used?
Do you know a way to refresh the browser by using selenium?
How does testng allow you to state dependencies?
What is selenium 2.0?
What is the difference between "assert" and "verify" commands?