/*
*
* @Author : Gaurav Khanna
*
*/
package webdriverScripts;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class ImplicitWaitTime {
public static void main(String... args) {
WebDriver driver = new FirefoxDriver();
// Wait for 10 Secs
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("www.google.com");
}
}
*
* @Author : Gaurav Khanna
*
*/
package webdriverScripts;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class ImplicitWaitTime {
public static void main(String... args) {
WebDriver driver = new FirefoxDriver();
// Wait for 10 Secs
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("www.google.com");
}
}