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 selenium-rc (remote control) ?
How do you clear the contents of a textbox in selenium?
What are the limitations of selenium?
How to assert text of webpage using selenium 2.0?
What is the use of driver.get("url") and driver.navigate().to("url") command? Is there any difference between the two?
When should I use Selenium IDE?
What types of cases can be automated with Selenium?
What test can selenium do?
How can we move to a particular frame in selenium?
What is selenium? What are the different selenium components?
Explain how you can find broken images in a page using selenium web driver?
What are the different components of the selenium?
Tell me what you know about selenium?
What do you know about selenium?
Mention what are the challenges in handling ajax call in selenium webdriver?