I am using lang :java framework: testNG
my system has 3-4 versions of Mozilla installed, how can i open instance of specific version of Mozilla. Suppose i have 3.5, 3.6,
Just specify the path to the binary of the version..may be, like-
FirefoxBinary binary = new FirefoxBinary(new File("path_to_bin")); FirefoxProfile profile = new FirefoxProfile(); WebDriver driver = new FirefoxDriver(binary, profile);