difference between Implicit Wait and Explicit Wait with syntax.?

Answer Posted / deepa

IMPLICIT WAIT:

WebDriver driver = new FirefoxDriver();

driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

driver.get("http://url_that_delays_loading");

WebElement myDynamicElement = driver.findElement(By.id("myDynamicElement"));

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set test case priority in testng?

544


Tell me what is a hub in selenium grid?

501


What is the difference between verification and assertion?

423


How is selenium different from qtp?

469


what is assertion in selenium and what are the types of assertion?

491






How to pause a test execution for 5 seconds at a specific point?

533


What are the testing kinds that can be supported by selenium?

517


Can you run the tests registered with Selenium IDE in other browsers?

536


What is the difference between driver.close() and driver.quit command?

466


What you know about selenium?

527


Which is the only browser that supports selenium ide to be used?

524


How many exceptions do you know in selenium webdriver?

464


How can you handle network latency using selenium?

502


What is heightened privileges browsers?

567


What are the drawbacks of selenium ide

492