Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save erajanraja24/ac149a7d2de22db3e2cd77ae06ab0b6a to your computer and use it in GitHub Desktop.
Save erajanraja24/ac149a7d2de22db3e2cd77ae06ab0b6a to your computer and use it in GitHub Desktop.
Java selenium Eclipse Installation and Set up-Selenium Webdriver with Java Tutorials for QA Professionals- Part 2
package com.ex1.Module1;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Ex1 {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "chromedriver.exe");
WebDriver driver=new ChromeDriver();
driver.get("https://www.google.co.in");
driver.manage().window().maximize();
driver.close();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment