Skip to content

64 bit FirefoxDriver does not launch the browser while running on 32 bit jdk #3525

Closed
@ghost

Description

Meta -

OS: Windows

Selenium Version: 3.0.1

Browser: Firefox

Browser Version: 51 (and Any)

Expected Behavior -

Firefox browser should launch.

Actual Behavior -

Firefox browser does not launch and shows the following exception

Exception in thread "main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA
Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'
System info: host: 'agent100', ip: '101.102.103.104', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0'
Driver info: driver.version: FirefoxDriver
	at org.openqa.selenium.firefox.internal.Executable.<init>(Executable.java:75)
	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:127)
	at com.abc.test.TestFF.main(TestFF.java:5)

Steps to reproduce -

Run the following java program using a 32 bit jre on a machine with 64 bit Firefox browser.

package com.abc.test;
import org.openqa.selenium.firefox.FirefoxDriver;
public class TestFF {
	public static void main(String[] args) throws Exception {
		FirefoxDriver ff = new FirefoxDriver();
		ff.close();
		ff.quit();
	}
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions