Skip to content

Instantly share code, notes, and snippets.

@jimode
Last active December 17, 2015 06:58
Show Gist options
  • Save jimode/5568919 to your computer and use it in GitHub Desktop.
Save jimode/5568919 to your computer and use it in GitHub Desktop.
JUnit: ChromeDriver
// Run test in Chrome browser
File file =new File("C:/Users/Jimi/Selenium/Workspace/chromedriver.exe");
System.setProperty("webdriver.chrome.driver", file.getAbsolutePath());
WebDriver myD = new ChromeDriver();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment