[Firefox] Webdriver isn't work with 64 bit version of firefox
See original GitHub issueSingle installation of firefox x64 returns an error for tests. After start test run firefox instance (only for java) but after run return errors.
C#
Result StackTrace:
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at OpenQA.Selenium.Firefox.Internal.Executable.LocateFirefoxBinaryFromPlatform()
at OpenQA.Selenium.Firefox.Internal.Executable..ctor(String userSpecifiedBinaryPath)
at OpenQA.Selenium.Firefox.FirefoxBinary..ctor(String pathToFirefoxBinary)
at OpenQA.Selenium.Firefox.FirefoxDriver..ctor()
Result Message: System.ComponentModel.Win32Exception : The system cannot find the file specified
Java
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
161268431903553903webdriver-profile\\extensions\\fxdriver@googlecode.com","installDate":1451390671378,"updateDate":1451390671378,"applyBackgroundUpdates":1,"bootstrap":false,"size":3213569,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":true,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"3.0","maxVersion":"45.0"}],"targetPlatforms":[{"os":"Darwin","abi":null},{"os":"SunOS","abi":null},{"os":"FreeBSD","abi":null},{"os":"OpenBSD","abi":null},{"os":"WINNT","abi":"x86-msvc"},{"os":"Linux","abi":null}],"multiprocessCompatible":false,"signedState":0}
1451390671923 addons.xpi DEBUG Updating XPIState for {"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"Zyi2si20fyvo","location":"app-global","version":"43.0.3","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Default","description":"The default theme.","creator":"Mozilla","homepageURL":null,"contributors":["Mozilla Contributors"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"C:\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","installDate":1451359851119,"updateDate":1451359851119,"applyBackgroundUpdates":1,"skinnable":true,"size":24172,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"43.0.3","maxVersion":"43.0.3"}],"targetPlatforms":[]}
1451390671923 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1451390671924 DeferredSave.extensions.json DEBUG Save changes
1451390671924 addons.xpi DEBUG Updating database with changes to installed add-ons
1451390671924 addons.xpi-utils DEBUG Updating add-on states
1451390671925 addons.xpi-utils DEBUG Writing add-ons list
1451390671932 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1451390671933 addons.manager DEBUG Provider finished startup: XPIProvider
1451390671933 addons.manager DEBUG Starting provider: LightweightThemeManager
1451390671933 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1451390671933 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1451390671933 addons.manager DEBUG Starting provider: GMPProvider
1451390671937 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1451390671938 addons.manager DEBUG Provider finished startup: GMPProvider
1451390671938 addons.manager DEBUG Starting provider: PluginProvider
1451390671938 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1451390671938 addons.manager DEBUG Provider finished startup: PluginProvider
1451390671938 addons.manager DEBUG Completed startup sequence
1451390672106 addons.manager DEBUG Starting provider: <unnamed-provider>
1451390672106 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1451390672106 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1451390672154 DeferredSave.extensions.json DEBUG Starting write
1451390672287 addons.repository DEBUG No addons.json found.
1451390672287 DeferredSave.addons.json DEBUG Save changes
1451390672289 DeferredSave.addons.json DEBUG Starting timer
1451390672295 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1451390672296 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1451390672296 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
1451390672299 DeferredSave.extensions.json DEBUG Write succeeded
1451390672299 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 17
1451390672341 DeferredSave.addons.json DEBUG Starting write
1451390672372 DeferredSave.addons.json DEBUG Write succeeded
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:123)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:117)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:207)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:120)
at com.epam.dailybeast.testtask.test.NewsPage.canOpenNewsPage(NewsPage.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
161268431903553903webdriver-profile\\extensions\\fxdriver@googlecode.com","installDate":1451390671378,"updateDate":1451390671378,"applyBackgroundUpdates":1,"bootstrap":false,"size":3213569,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":true,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"3.0","maxVersion":"45.0"}],"targetPlatforms":[{"os":"Darwin","abi":null},{"os":"SunOS","abi":null},{"os":"FreeBSD","abi":null},{"os":"OpenBSD","abi":null},{"os":"WINNT","abi":"x86-msvc"},{"os":"Linux","abi":null}],"multiprocessCompatible":false,"signedState":0}
1451390671923 addons.xpi DEBUG Updating XPIState for {"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"Zyi2si20fyvo","location":"app-global","version":"43.0.3","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Default","description":"The default theme.","creator":"Mozilla","homepageURL":null,"contributors":["Mozilla Contributors"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"C:\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","installDate":1451359851119,"updateDate":1451359851119,"applyBackgroundUpdates":1,"skinnable":true,"size":24172,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"43.0.3","maxVersion":"43.0.3"}],"targetPlatforms":[]}
1451390671923 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1451390671924 DeferredSave.extensions.json DEBUG Save changes
1451390671924 addons.xpi DEBUG Updating database with changes to installed add-ons
1451390671924 addons.xpi-utils DEBUG Updating add-on states
1451390671925 addons.xpi-utils DEBUG Writing add-ons list
1451390671932 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1451390671933 addons.manager DEBUG Provider finished startup: XPIProvider
1451390671933 addons.manager DEBUG Starting provider: LightweightThemeManager
1451390671933 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1451390671933 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1451390671933 addons.manager DEBUG Starting provider: GMPProvider
1451390671937 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1451390671938 addons.manager DEBUG Provider finished startup: GMPProvider
1451390671938 addons.manager DEBUG Starting provider: PluginProvider
1451390671938 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1451390671938 addons.manager DEBUG Provider finished startup: PluginProvider
1451390671938 addons.manager DEBUG Completed startup sequence
1451390672106 addons.manager DEBUG Starting provider: <unnamed-provider>
1451390672106 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1451390672106 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1451390672154 DeferredSave.extensions.json DEBUG Starting write
1451390672287 addons.repository DEBUG No addons.json found.
1451390672287 DeferredSave.addons.json DEBUG Save changes
1451390672289 DeferredSave.addons.json DEBUG Starting timer
1451390672295 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1451390672296 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1451390672296 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
1451390672299 DeferredSave.extensions.json DEBUG Write succeeded
1451390672299 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 17
1451390672341 DeferredSave.addons.json DEBUG Starting write
1451390672372 DeferredSave.addons.json DEBUG Write succeeded
Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06'
System info: host: 'LH', ip: '10.7.14.16', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:135)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:117)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:207)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:120)
at com.epam.dailybeast.testtask.test.NewsPage.canOpenNewsPage(NewsPage.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
161268431903553903webdriver-profile\\extensions\\fxdriver@googlecode.com","installDate":1451390671378,"updateDate":1451390671378,"applyBackgroundUpdates":1,"bootstrap":false,"size":3213569,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":true,"hasBinaryComponents":true,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"3.0","maxVersion":"45.0"}],"targetPlatforms":[{"os":"Darwin","abi":null},{"os":"SunOS","abi":null},{"os":"FreeBSD","abi":null},{"os":"OpenBSD","abi":null},{"os":"WINNT","abi":"x86-msvc"},{"os":"Linux","abi":null}],"multiprocessCompatible":false,"signedState":0}
1451390671923 addons.xpi DEBUG Updating XPIState for {"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"Zyi2si20fyvo","location":"app-global","version":"43.0.3","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Default","description":"The default theme.","creator":"Mozilla","homepageURL":null,"contributors":["Mozilla Contributors"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"C:\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","installDate":1451359851119,"updateDate":1451359851119,"applyBackgroundUpdates":1,"skinnable":true,"size":24172,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"43.0.3","maxVersion":"43.0.3"}],"targetPlatforms":[]}
1451390671923 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1451390671924 DeferredSave.extensions.json DEBUG Save changes
1451390671924 addons.xpi DEBUG Updating database with changes to installed add-ons
1451390671924 addons.xpi-utils DEBUG Updating add-on states
1451390671925 addons.xpi-utils DEBUG Writing add-ons list
1451390671932 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1451390671933 addons.manager DEBUG Provider finished startup: XPIProvider
1451390671933 addons.manager DEBUG Starting provider: LightweightThemeManager
1451390671933 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1451390671933 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1451390671933 addons.manager DEBUG Starting provider: GMPProvider
1451390671937 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1451390671938 addons.manager DEBUG Provider finished startup: GMPProvider
1451390671938 addons.manager DEBUG Starting provider: PluginProvider
1451390671938 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1451390671938 addons.manager DEBUG Provider finished startup: PluginProvider
1451390671938 addons.manager DEBUG Completed startup sequence
1451390672106 addons.manager DEBUG Starting provider: <unnamed-provider>
1451390672106 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1451390672106 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1451390672154 DeferredSave.extensions.json DEBUG Starting write
1451390672287 addons.repository DEBUG No addons.json found.
1451390672287 DeferredSave.addons.json DEBUG Save changes
1451390672289 DeferredSave.addons.json DEBUG Starting timer
1451390672295 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1451390672296 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1451390672296 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
1451390672299 DeferredSave.extensions.json DEBUG Write succeeded
1451390672299 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 17
1451390672341 DeferredSave.addons.json DEBUG Starting write
1451390672372 DeferredSave.addons.json DEBUG Write succeeded
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:123)
... 33 more
Issue Analytics
- State:
- Created 8 years ago
- Comments:33 (5 by maintainers)
Top Results From Across the Web
[Firefox] Webdriver isn't work with 64 bit version of firefox #1431
Single installation of firefox x64 returns an error for tests. After start test run firefox instance (only for java) but after run return...
Read more >Webdriver For Firefox 84.0.1(64-Bit) - Stack Overflow
I'm trying to get the zip file of version 84.0.1(64-bit) of Firefox Browser. Could anyone help me find this zip file? selenium ·...
Read more >Supported platforms — Firefox Source Docs documentation
Some features will only be available in the most recent Firefox versions, and we strongly advise using the latest Firefox Nightly with geckodriver....
Read more >Download Geckodriver: How to Install Using Firefox ... - Guru99
Selenium Webdriver version 2.53 is not compatible with Mozilla Firefox version 47.0+. The Firefox driver used in earlier versions of Mozilla ...
Read more >Install browser drivers - Selenium
Most machines automatically update the browser, but the driver does not. To make sure you get the correct driver for your browser, there...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am facing this issue on FF 47, selenium 2.53.0 jar windows 7
everyone talking about Firefox 47, that’s being tracked as #2110
locking the issue as this is an old issue and any new concerns should be logged as new issues… unless it’s FF 47, then see #2110