Q. What is implicit wait in Selenium?
Utilisateur anonyme
Ans. Implicit wait in Selenium is a timeout setting that tells the WebDriver to wait for a specified time when searching for elements. Implicit wait is set using WebDriver's 'manage().timeouts().implicitlyWait()' method. It applies to all elements in the test script, making it a global setting. Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); If an element is not found immediately, WebDriver will poll the DOM for the specified duration. Once set, the implicit wait remains in effect for the life of the WebDriver instance.