Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created January 21, 2020 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliasnogueira/4a1e8c18f97ad28b349279c9da5bd5e1 to your computer and use it in GitHub Desktop.
Save eliasnogueira/4a1e8c18f97ad28b349279c9da5bd5e1 to your computer and use it in GitHub Desktop.
public class ChromeTest {
public void openGoogleChrome() {
// setup the browsr binary and set the proper path
WebDriverManager.chromedriver().setup();
// create the Google Chrome browser instance
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