Exception in thread "main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC

81 views
Skip to first unread message

prashanth yadav g

unread,
Jul 13, 2015, 2:20:12 PM7/13/15
to webd...@googlegroups.com
Hi,

When I run it, I got the following error. Can anyone please let me know what needs to be done to fix it.
Thanks in Advance, 


Exception in thread "main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC

Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:17:10'

System info: host: 'Yadav', ip: '192.168.0.102', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.1', java.version: '1.8.0_25'

Driver info: driver.version: FirefoxDriver

at org.openqa.selenium.firefox.internal.Executable.<init>(Executable.java:74)

at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:60)

at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:56)

at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124)

at Gmail_Login.main(Gmail_Login.java:20)


darrell

unread,
Jul 14, 2015, 1:45:37 PM7/14/15
to webd...@googlegroups.com
Is the Firefox browser installed? WebDriver does not install the browser, you have to do this manually. If Firefox is installed, did you install it in /Applications? If not, WebDriver might not be able to find it.
Reply all
Reply to author
Forward
0 new messages