How can I ask the Selenium-WebDriver to wait for few seconds in Java?

Well, there are two types of wait: explicit and implicit wait. The idea of explicit wait is WebDriverWait.until(condition-that-finds-the-element); The concept of implicit wait is driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); You can get difference in details here. In such situations I’d prefer using explicit wait (fluentWait in particular): public WebElement fluentWait(final By locator) { Wait<WebDriver> wait = new FluentWait<WebDriver>(driver)… Read More How can I ask the Selenium-WebDriver to wait for few seconds in Java?

Test Automation with Java, using Selenium, Cucumber

Selenium Introduction About Selenium Selenium is a software testing framework for the web that facilitates the automation of browsers. The Selenium project produces various tools for automation testing such as Selenium IDE, Selenium Remote Control (RC), Selenium Grid and Selenium 2.0 & WebDriver. Learning all the tools will give you many different options for approaching… Read More Test Automation with Java, using Selenium, Cucumber