-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception is thrown "Cannot find firefox binary in PATH" #1643
Comments
@Jassi10, did you install the 32bit version of geckodriver or Firefox on your system? |
@whimboo I had installed the 64 bit version of geckodriver |
And what about Firefox? |
@whimboo Hi,I have already provided the details above ,I have a 64-bit windows OS and I always install the compatible drivers. |
No, you haven't still provided the information if Firefox is also the 64bit version or the 32bit one. I specifically ask because of issue #1045, which you seem to be affected of. |
@whimboo Firefox is also 64 bit version .I am going to uninstall firefox and install again( I am sure that is the next thing you would ask from the questions you have asked so far)!!. |
@whimboo one thing to add , it was working fine till last week,but after the latest automatic update , it has suddenly stopped responding. |
Which kind of automatic update? Windows, or something else? |
It is the Windows automatic update |
Anyways I am going to use Chrome for my selenium code its working fine ,I won't be using Firefox. |
I would appreciate if you could help us to identify the problem. Also note that only using Chrome for testing will not help anyone from us to have an interoperable web. If you don't specify the Firefox binary location within the @Jassi10, please tell us exactly into which folder you have installed Firefox. Also the above link shows some locations in the Windows Registry which geckodriver reads. Does the referenced key exist for you, and if yes where does it point to? Thanks |
@whimboo, getting same issue with firefox driver please find below path for installing firefox: Executable Jar Path : |
I have encountered the same issue with 0.26.0 version for linux 64bit in alpine:edge ( Steps to reproduce:
it is not reproducible with v0.25.0 |
Hi Sorry I could not reply ,I had uninstalled and reinstalled the 64 bit version of firefox ,and it started working . |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
System
Testcase
I am getting an exception since yesterday , so I wrote a simple code to check the browser if the problem is my code or something else and still I am getting the same exception.
I have Firefox installed and it is in the environmental variable too.
Code is as below
package smartbytes.opencart.scenario;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Browser {
}
Stacktrace Please find the stacktrace below
Exception in thread "main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: WIN10
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'NONU-PC', ip: '192.168.0.104', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.4'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:100)
at java.base/java.util.Optional.orElseGet(Optional.java:369)
at org.openqa.selenium.firefox.FirefoxOptions.getBinary(FirefoxOptions.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:187)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:147)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:125)
at smartbytes.opencart.scenario.Browser.main(Browser.java:12)
Trace-level log
The text was updated successfully, but these errors were encountered: