difference between Implicit Wait and Explicit Wait with syntax.?
Answer Posted / sehgalkhyati@gmail.com
EXPLICIT WAIT- Will stop the execution for the given mentioned time.
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.id("someid")));
IMPLICIT WAIT- will be applicable toeach and every element on web
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 ? | 10 Yes | 0 No |
Post New Answer View All Answers
List the different types of locaters in selenium.
List the different types of drivers in webdriver.
Which are the operating systems supported by selenium?
What is the use of javascriptexecutor?
We do create a reference variable ‘driver’ of type webdriver
List some of the common automation frameworks.
How to delete cookies in selenium?
How does one store the current url using selenium 2.0?
Can you run the tests registered with Selenium IDE in other browsers?
How do you read test data from excels?
How to execute a single line command from selenium ide?
What is fluent wait in selenium webdriver?
What are the two modes of views in selenium ide?
What are various ways of locating an element in selenium?
How can you handle network latency using selenium?