Skip to content

Instantly share code, notes, and snippets.

@faleev
Created December 5, 2013 13:30
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 faleev/7805157 to your computer and use it in GitHub Desktop.
Save faleev/7805157 to your computer and use it in GitHub Desktop.
run custom firefox binary
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