Can anybody explain me what exactly the difference between the below code?
Can anybody explain me what exactly the difference between the below code
WebDriver driver; File pathToBinary=new File("FIREFOX_PATH "); FirefoxBinary ffBinary=new FirefoxBinary(pathToBinary); FirefoxProfile ffProfile=new FirefoxProfile(); driver=new FirefoxDriver(ffBinary,ffProfile); OR WebDriver driver=new FirefoxDriver();
U must be Concened about this line Suppose you have Firefox 32 in your System and you Wanted to Run your test against firefox 22
so in that Case u can get binaries for firefox 22 and run ur test case against firefox 22
you Want to Use FireFox With some changed Settings in That Case u Can give the name of Profile Created by you With your Settings
and in this Case it will launch your default Firefox say
if u have 32 with default firefox profile
anything else u wanna knw..?