Answer Posted / bharat
There are two types of synchronization in selenium
1)Unconditional Synchronization
Exam:- wait(), time.sleep()
2) Conditional Synchronization
- Implicit wait
Exam -driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
- Explicit wait
Exam -
WebDriverWait wait = new WebDriverWait(driver, 10);
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id(“statedropdown”)));
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of pom?
Explain Cucumeber Framework?
What are core extension?
What is the difference between @factory and @data provider annotation?
What are the advantages of automation framework?
For database testing in selenium webdriver what api is required?
How to perform right click using webdriver?
If the test case frame contains several test cases, how can one execute just the selected one of those test cases?
What is intellij?
While using click command can you use screen coordinate?
How you can handle colors in web driver?
How to login to any site if it’s showing any authentication popup for
How to handle alerts in selenium?
How can you use the recovery scenario in selenium webdriver?
How to skip a method or a code block in testng?