Login

Login
  • Register
  • VectorDesign blog

    Testing Automation and general Tech Geek stuff

    Change Firefox Path in Selenium

    Posted in Selenium on 11 March 2015 by vectordesign
    File pathToBinary = new File("C:\\Program Files\\Mozilla Firefox15\\Firefox.exe");
    FirefoxBinary ffBinary = new FirefoxBinary(pathToBinary);
    FirefoxProfile firefoxProfile = new FirefoxProfile();
    FirefoxDriver _driver = new FirefoxDriver(ffBinary,firefoxProfile);

    Leave a Reply