SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
347 stars 195 forks source link

add an option to tell selenium if the system is x64 or x86 #7039

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 7039

although I am on a x64 machine, Selenium default FirefoxDriver() init searched the x86
registried, instaead the x64 ones.
My work around was to declare explicitly on the firefox.exe file path.
I believe that a better solution will be to get the system configuration as a parameter.

What steps will reproduce the problem?
1. open vs2012
2. create a simple test to open a webdriver (using NUnit 2.6.2)
3. get exception: Unable to determine the current version of FireFox using the registry,
please make sure you have installed FireFox correctly

What is the expected output? What do you see instead?
I expect the browser to open, instead I get the exception above.

Selenium version: Webdriver 2.29.1.0
OS: Windows 7 x64
Browser: Firefox 26.0
Browser version:
Using: VS2012, NUnit 2.6.2 

Reported by wasafa1 on 2014-02-27 10:20:10

lukeis commented 8 years ago
Mozilla distributes a single architecture-neutral version of Firefox for Windows. What
do you mean by x64-version of Firefox?

Reported by barancev on 2014-02-27 11:56:53

lukeis commented 8 years ago
Hi, This is the neutral version,
but the installations path is only updated in the x64 registry.

Reported by wasafa1 on 2014-02-27 12:05:19

lukeis commented 8 years ago

Reported by barancev on 2014-02-27 12:08:53

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:46:33