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  


Write a code snippet to launch chrome browser in webdriver.

0 Answers  


Which automation tools can be used for post-launch validation with continuous integration?

0 Answers  


Mention what is the use of x-path?

0 Answers  


How can we find all the links on a web page?

0 Answers  


What will be the different kinds of locators in selenium?

0 Answers  


Explain how you can capture server side log selenium server?

0 Answers  


Mention why to choose python over java in selenium?

0 Answers  


Other than the default port 444 how you can run selenium server?

0 Answers  


How to handle the AJAX popup window?

0 Answers  


Tell me how can we maximize browser window in selenium?

0 Answers  


Tell me the meaning of assertion in selenium and what are the types of assertion?

0 Answers  


Categories