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 page factory?
Which web driver implementation is the fastest?
What is the selenium webdriver?
List out the names of programming languages, browsers and operating systems that are supported by selenium.
How to select value in a dropdown?
What you say in regards to the flexibility of selenium test suite?
What are the different types of annotations which are used in selenium?
How can you use the recovery scenario in selenium webdriver?
Which webdriver implementation claims to be the fastest?
How do you handle alert popup?
What is testng and how is it better than junit?
Name an api used for logging in java?
How does testng allow you to state dependencies? Explain it with an example.
What is the selenese command to show the value of a variable in the log file?
In selenium ide, give the usage of context menu?