Different types of synchronization



Different types of synchronization..

Answer / 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

More Selenium Interview Questions

Mention what is listeners in selenium webdriver?

0 Answers  


What are the junits annotation linked with selenium?

0 Answers  


What is the alternate way to click on the login button?

0 Answers  


How to read a javascript variable in selenium webdriver?

0 Answers  


List the different testing types supported by selenium.

1 Answers  






What are the significant changes/upgrades in various selenium versions?

0 Answers  


What does a right-pointing green triangle at the beginning of a command in side indicate?

0 Answers  


How you can switch back from a frame?

0 Answers  


Is there a way for me to know all available options when I start selenium server?

0 Answers  


Why do you need session handling while working with selenium?

0 Answers  


List the different selenium tools.

1 Answers  


Mention what is the difference between selenium and sikuli?

0 Answers  


Categories