Skills101
← All practice quizzes

Quiz: Waits

5 questionsNo time limitPass: 60%+10 XP on first pass

Why tests fail on pages that load data in the background, how explicit waits with WebDriverWait and ExpectedConditions fix it, implicit and fluent waits, and why Thread.sleep makes suites slow and flaky — with a tested example.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    An element appears 2 seconds after a click. A WebDriverWait with a 10-second timeout continues after about…

  2. Question 2

    Why is Thread.sleep a poor way to wait?

  3. Question 3

    Which condition should you wait for before clicking a button?

  4. Question 4

    What causes StaleElementReferenceException?

  5. Question 5

    What is the recommended combination?