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 is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium?
What is a node in selenium grid?
Explain what are the junits annotation linked with selenium?
My application uses ajax heavily how do I use selenium rc to work with ajax operations?
What are the advantages of selenium as a test tool?
How can it be found if an item is displayed on the screen?
Other than the default port 4444 how you can run selenium server?
What evaluation can selenium do?
Does the selenium ide have any drawbacks?
What are the advantages of selenium grid?
Explain what are the different types of locators in selenium?
Write a code snippet to navigate back and forward in browser history?
How to use frame elements in Selenium on a page?
How do you achieve synchronization in webdriver?
How to execute javascript in selenium?