🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Waits: questions with answers

10 questions, each with the answer and a short explanation.

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