

After downloading the file, it needs to be installed using the Windows Program Installer.

Click on the Download button as shown in the below figure. System info: host: 'SR6-Test-Mac-Air.local', ip: '10.4.2.23', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.7.0_21'ĭriver info: driver.version: FirefoxDriverĪt .internal.Executable.(Executable.java:72)Īt .FirefoxBinary.(FirefoxBinary.java:59)Īt .FirefoxBinary.(FirefoxBinary.java:55)Īt .FirefoxDriver.(FirefoxDriver.Step 2: The Java development kit can be downloaded from the official website, which is free of cost as it is open source and can be used by anyone. I am getting the below error.Įxception in thread "main" : Cannot find firefox binary in PATH. I am using Mac and Firefox version is 27.0.1 with the jar files selenium-java-2.40.0-srcs.jar, selenium-java-2.40.0.jar and other related jar files. I tried to open firefox browser with the url(). The webdriver window is opening but nothing is happening after that.


Session ID: 2f7a49a4-7ca3-4887-89a3-a93106d1c587ĭriver info: .FirefoxDriverĬapabilities Īt 0(Native Method)Īt (Unknown Source)Īt (Unknown Source)Īt .newInstance(Unknown Source)Īt .ErrorHandler.createThrowable(ErrorHandler.java:193)Īt .ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)Īt .RemoteWebDriver.execute(RemoteWebDriver.java:554)Īt .RemoteWebDriver.get(RemoteWebDriver.java:276)Īt (googleSuggest.java:12)Ĭaused by: .ErrorHandler$UnknownServerException: f.QueryInterface is not a function I have followed all the instructions above but when I try to run the program I get the following error in the program console:Įxception in thread "main" : f.QueryInterface is not a functionĬommand duration or timeout: 32 millisecondsīuild info: version: '2.39.0', revision: 'ff23eac', time: ' 16:12:12' But I was stuck while executing the above program.
