Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Selenium WebDriver example using Google Chrome and it driver
public class GoogleChromeTest {
@Test
public void openPageUsingChrome() {
System.setProperty("webdriver.chrome.driver", "/path/to/chromedriver");
WebDriver driver = new ChromeDriver();
driver.get("http://eliasnogueira.com");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment