I am beginner in Selenium. Tried with basic webpage open, timeout and close with the below code. But the browser is closing without performing wait(). What could be the problem here. ?
WebDriver SDriver = new ChromeDriver();
SDriver.get("https://www.google.co.in");
SDriver.manage().window().maximize();
SDriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
SDriver.close();