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 absolute path and relative path?
What is the difference between “type” and “type and wait for” command?
Using web driver how you can store a value which is text box?
What is same origin policy? How you can avoid same origin policy?
What is the difference between the “type” and “typeAndWait” commands?
What are the locators available in selenium?
What is the selenium webdriver?
How to insert a start point in selenium ide?
How can we find all the links on a web page?
Explain the difference between assert and verify commands?
What is Selenium IDE?
How you can switch back from a frame?
What you say in regards to the flexibility of selenium test suite?
Do you know how to mouse hover an element in selenium?
How can we maximize browser window in selenium?