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 are the types of assertions there in selenium?
Tell me how you can capture server side log selenium server?
Why testers should opt for selenium and not qtp? Selenium is more popular than qtp as
What kind of keyboard operations can be performed in selenium?
How can we create a data-driven framework using testng?
How to handle frame in webdriver?
How will you use selenium to upload a file?
What exactly is the price of selenium test-suite?
Explain the different exceptions in selenium webdriver.
How to install use TestNG in selenium webdriver ?
Explain how you can find broken images in a page using selenium web driver?
What is fluent wait in selenium?
What do you know about Selenium IDE?
How you can convert any selenium ide tests from selenese to another language?
List out the test types that are supported by selenium?