Default

What is the purpose of the WebDriverWait in Selenium?

What is the purpose of the WebDriverWait in Selenium?

Choose the correct answer from the following options:

A. To manage cookies
B. To handle browser navigation
C. To implement Explicit waits
D. To perform drag-and-drop actions

Correct Answer

C. To implement Explicit waits

Explanation

The WebDriverWait class applies explicit waits, which means it waits for a certain condition to be met before proceeding with the next step. This helps with dynamic content and synchronization issues.