Created
December 5, 2013 13:30
-
-
Save faleev/7805157 to your computer and use it in GitHub Desktop.
run custom firefox binary
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
protected WebDriver driver; | |
private void startFirefoxDriver() { | |
//driver = new FirefoxDriver(); | |
FirefoxBinary binary = new FirefoxBinary(new File("/Users/username/Downloads/Firefox.app/Contents/MacOS/firefox-bin")); | |
FirefoxProfile profile = new FirefoxProfile(); | |
this.driver = new FirefoxDriver(binary, profile); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment