← All topics
Quiz: Waits: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. An element appears 2 seconds after a click. A WebDriverWait with a 10-second timeout continues after about…
- Q2. Why is Thread.sleep a poor way to wait?
- Q3. Which condition should you wait for before clicking a button?
- Q4. What causes StaleElementReferenceException?
- Q5. What is the recommended combination?
- Q6. Which condition waits for a loading spinner to disappear?
- Q7. What is the difference between presence and visibility of an element?
- Q8. What does an implicit wait of 10 seconds affect?
- Q9. When is a FluentWait useful?
- Q10. After a table reloads, using a WebElement found earlier throws StaleElementReferenceException. What is the fix?