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
What is the difference between “/” and “//” in xpath?
Firefox driver is class or an interface and from where is it inherited?
How to clear the text in the text box using selenium webdriver?
How to handle alerts in selenium?
Do you know how to mouse hover an element in selenium?
How to find the xpath of web table elements.in chrome or internet explorer.or without using fire bug.?
What is the difference between assert and verify in selenium?
How can you find if an element in displayed on the screen?
How do I upload a file using selenium? I need to upload a word file during test execution.
What is a keyword driven framework?
What kind of testing does selenium support?
What are the significant changes/upgrades in various selenium versions?
How we handle pop-up web-based ?
What is selenium webdriver or google webdriver or selenium 2.0?
What is selenium-rc (remote control) ?