difference between Implicit Wait and Explicit Wait with syntax.?
Answer Posted / arvind yadav
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"));
Explicitly wait :
WebDriverWait wait = new WebDriverWait(d,20);
wait.until(ExpectedConditions.presenceOfElementLocated(By.linkText("Any link")));
Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What does side stand for?
What are the two modes of views in selenium ide?
How can we check if an element is getting displayed on a web page?
Mention different exceptions you had in selenium web driver?
From your test script how you can create html test report?
Explain how you can insert a start point in selenium ide?
How to highlight element using selenium webdriver?
How to handle a dropdown in selenium webdriver?
What are the testing types that can be supported by selenium?
What are some advantages of selenium?
What’s the difference between borland silk evaluation and selenium?
What is selenium rc?
Tell us what selenium components do you know?
How can you insert a start point in selenium ide?
How selenium grid works?