只需指定版本的二进制文件的路径即可。
FirefoxBinary binary = new FirefoxBinary(new File("path_to_bin"));FirefoxProfile profile = new FirefoxProfile();WebDriver driver = new FirefoxDriver(binary, profile);
只需指定版本的二进制文件的路径即可。
FirefoxBinary binary = new FirefoxBinary(new File("path_to_bin"));FirefoxProfile profile = new FirefoxProfile();WebDriver driver = new FirefoxDriver(binary, profile);