Created
August 25, 2012 10:06
-
-
Save vorburger/3463203 to your computer and use it in GitHub Desktop.
WebDriver ChromeDriver setProperty("webdriver.chrome.driver"...)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ChromeDriver getChromeDriver() throws URISyntaxException { | |
URL url = getClass().getResource("/ch/vorburger/vaadin/designer/tests/web/chromedriver.exe"); | |
File file = new File(url.toURI()); | |
System.setProperty("webdriver.chrome.driver", file.getAbsolutePath()); | |
return new ChromeDriver(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment