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

[Firefox] Webdriver isn't work with 64 bit version of firefox #1431

Closed
rosolko opened this Issue Dec 29, 2015 · 33 comments

Comments

Projects
None yet
@rosolko

rosolko commented Dec 29, 2015

Single 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

@doberkofler

This comment has been minimized.

Show comment
Hide comment
@doberkofler

doberkofler Jan 4, 2016

Support for Firefox x64 would be most appreciated

doberkofler commented Jan 4, 2016

Support for Firefox x64 would be most appreciated

@romeoleung

This comment has been minimized.

Show comment
Hide comment
@romeoleung

romeoleung Jan 12, 2016

I am having the exact same problem.. the x86 version works just fine, but it's thowing the unable to connect error for the 64 version.

romeoleung commented Jan 12, 2016

I am having the exact same problem.. the x86 version works just fine, but it's thowing the unable to connect error for the 64 version.

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Jan 12, 2016

Looks like x64 version can't load webdriver.xpi
att_13

rosolko commented Jan 12, 2016

Looks like x64 version can't load webdriver.xpi
att_13

@maxgorovenko

This comment has been minimized.

Show comment
Hide comment
@maxgorovenko

maxgorovenko Jan 12, 2016

I have the same issue, but haven't tested x86 yet.

I tried firefox 38.5.0, 40.0, 43.0 all x64 and all failed

maxgorovenko commented Jan 12, 2016

I have the same issue, but haven't tested x86 yet.

I tried firefox 38.5.0, 40.0, 43.0 all x64 and all failed

@ezhikus

This comment has been minimized.

Show comment
Hide comment
@ezhikus

ezhikus Jan 15, 2016

Same thing. Selenium 2.48-2.49 works fine with Firefox 43 x86, but fails on Firefox 43 x64.
"Firefox WebDriver 2.48.0 (disabled)"

ezhikus commented Jan 15, 2016

Same thing. Selenium 2.48-2.49 works fine with Firefox 43 x86, but fails on Firefox 43 x64.
"Firefox WebDriver 2.48.0 (disabled)"

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Jan 16, 2016

Is it possible to get webdriver.xpi from linux x64 firefox webdriver?
And try to use with windows version, using custom driver options with extension loading?

rosolko commented Jan 16, 2016

Is it possible to get webdriver.xpi from linux x64 firefox webdriver?
And try to use with windows version, using custom driver options with extension loading?

@dhoer

This comment has been minimized.

Show comment
Hide comment
@dhoer

dhoer Jan 25, 2016

Has anyone tried FF x64 with https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette? @lukeis mentioned back in November to try it.

dhoer commented Jan 25, 2016

Has anyone tried FF x64 with https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette? @lukeis mentioned back in November to try it.

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Jan 25, 2016

@dhoer, is this solution required firefox nightly installed?

rosolko commented Jan 25, 2016

@dhoer, is this solution required firefox nightly installed?

@dhoer

This comment has been minimized.

Show comment
Hide comment
@dhoer

dhoer Jan 25, 2016

@rosolko I'm not sure what you are asking. I haven't tried Marionette yet, but it should behave like any other webdriver: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver

dhoer commented Jan 25, 2016

@rosolko I'm not sure what you are asking. I haven't tried Marionette yet, but it should behave like any other webdriver: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Jan 25, 2016

@dhoer, in the preparation section they talking about
firefox_capabilities['binary'] = '/path/to/devedition/or/nightly'
dev or nightly
That's what I'm talking about.

rosolko commented Jan 25, 2016

@dhoer, in the preparation section they talking about
firefox_capabilities['binary'] = '/path/to/devedition/or/nightly'
dev or nightly
That's what I'm talking about.

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Jan 25, 2016

On the stable version of firefox I get an error:

1453753134271   Marionette  INFO    Marionette enabled via build flag and pref
1453753134442   Marionette  INFO    Listening on port 2828
1453753134751   Marionette  INFO    Marionette enabled via command-line flag
1453753134785   Marionette  INFO    Accepted connection conn0 from 127.0.0.1:38286
1453753134785   Marionette  DEBUG   conn0 client <- {"applicationType":"gecko","marionetteProtocol":2}
1453753134830   Marionette  INFO    Closed connection conn0
Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39'
System info: host: 'moon', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-25-generic', java.version: '1.8.0_72'
Driver info: driver.version: MarionetteDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234)
    at org.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:73)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:45)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:49)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:31)
    at org.r.tvbuname.Main.main(Main.java:5)
Caused by: java.lang.NullPointerException
    at org.openqa.selenium.remote.ErrorCodes.toStatus(ErrorCodes.java:256)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:118)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:42)
    at org.openqa.selenium.remote.http.JsonHttpResponseCodec.decode(JsonHttpResponseCodec.java:78)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:145)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
    ... 8 more

rosolko commented Jan 25, 2016

On the stable version of firefox I get an error:

1453753134271   Marionette  INFO    Marionette enabled via build flag and pref
1453753134442   Marionette  INFO    Listening on port 2828
1453753134751   Marionette  INFO    Marionette enabled via command-line flag
1453753134785   Marionette  INFO    Accepted connection conn0 from 127.0.0.1:38286
1453753134785   Marionette  DEBUG   conn0 client <- {"applicationType":"gecko","marionetteProtocol":2}
1453753134830   Marionette  INFO    Closed connection conn0
Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39'
System info: host: 'moon', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-25-generic', java.version: '1.8.0_72'
Driver info: driver.version: MarionetteDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234)
    at org.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:73)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:45)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:49)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:31)
    at org.r.tvbuname.Main.main(Main.java:5)
Caused by: java.lang.NullPointerException
    at org.openqa.selenium.remote.ErrorCodes.toStatus(ErrorCodes.java:256)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:118)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:42)
    at org.openqa.selenium.remote.http.JsonHttpResponseCodec.decode(JsonHttpResponseCodec.java:78)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:145)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
    ... 8 more
@niteshgoyal13

This comment has been minimized.

Show comment
Hide comment
@niteshgoyal13

niteshgoyal13 Jan 29, 2016

I am facing the same issue as mentioned above by @rosolko lko

Is there any solution?

niteshgoyal13 commented Jan 29, 2016

I am facing the same issue as mentioned above by @rosolko lko

Is there any solution?

@dhoer

This comment has been minimized.

Show comment
Hide comment
@dhoer

dhoer Jan 29, 2016

I haven't figured out a solution and I started playing with Marionette, but no luck there. I'm sticking with the 32bit installer for now. If you are using Chef Mozilla Firefox cookbook (https://github.com/dhoer/chef-mozilla_firefox) then just set the 32bit_only flag to true.

dhoer commented Jan 29, 2016

I haven't figured out a solution and I started playing with Marionette, but no luck there. I'm sticking with the 32bit installer for now. If you are using Chef Mozilla Firefox cookbook (https://github.com/dhoer/chef-mozilla_firefox) then just set the 32bit_only flag to true.

@AutomatedTester

This comment has been minimized.

Show comment
Hide comment
@AutomatedTester

AutomatedTester Jan 29, 2016

Member

@rosolko could you try beta though nightly. Unfortunately we had to change the communication layer in Firefox 45 to solve so issues.

Marionette should be nearly as good as any webdriver, it's passing over 80% of the selenium test suite

On 25 Jan 2016, 20:21 +0000, Alexander Rosolkonotifications@github.com, wrote:

On the stable version of firefox I get an error:

1453753134271MarionetteINFOMarionetteenabled via build flag and pref1453753134442MarionetteINFOListeningon port28281453753134751MarionetteINFOMarionetteenabled via command-line flag1453753134785MarionetteINFOAcceptedconnection conn0 from127.0.0.1:382861453753134785MarionetteDEBUGconn0 client<-{"applicationType":"gecko","marionetteProtocol":2}1453753134830MarionetteINFOClosedconnection conn0Exceptionin thread"main"org.openqa.selenium.remote.UnreachableBrowserException:Couldnot start anewsession. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39' System info: host: 'moon', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-25-generic', java.version: '1.8.0_72' Driver info: driver.version: MarionetteDriver atorg.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665) atorg.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) atorg.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234) atorg.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79) atorg.openqa.selenium.firefox.MarionetteDriver.(MarionetteDriver.java:73) atorg.openqa.selenium.firefox.MarionetteDriver.(MarionetteDriver.java:45) atorg.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:49) atorg.r.tvbuname.AccountCreator.(AccountCreator.java:31) atorg.r.tvbuname.Main.main(Main.java:5)Causedby:java.lang.NullPointerExceptionatorg.openqa.selenium.remote.ErrorCodes.toStatus(ErrorCodes.java:256) atorg.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:118) atorg.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:42) atorg.openqa.selenium.remote.http.JsonHttpResponseCodec.decode(JsonHttpResponseCodec.java:78) atorg.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:145) atorg.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82) atorg.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)...8more


Reply to this email directly orview it on GitHub(#1431 (comment)).

Member

AutomatedTester commented Jan 29, 2016

@rosolko could you try beta though nightly. Unfortunately we had to change the communication layer in Firefox 45 to solve so issues.

Marionette should be nearly as good as any webdriver, it's passing over 80% of the selenium test suite

On 25 Jan 2016, 20:21 +0000, Alexander Rosolkonotifications@github.com, wrote:

On the stable version of firefox I get an error:

1453753134271MarionetteINFOMarionetteenabled via build flag and pref1453753134442MarionetteINFOListeningon port28281453753134751MarionetteINFOMarionetteenabled via command-line flag1453753134785MarionetteINFOAcceptedconnection conn0 from127.0.0.1:382861453753134785MarionetteDEBUGconn0 client<-{"applicationType":"gecko","marionetteProtocol":2}1453753134830MarionetteINFOClosedconnection conn0Exceptionin thread"main"org.openqa.selenium.remote.UnreachableBrowserException:Couldnot start anewsession. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39' System info: host: 'moon', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-25-generic', java.version: '1.8.0_72' Driver info: driver.version: MarionetteDriver atorg.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665) atorg.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) atorg.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234) atorg.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79) atorg.openqa.selenium.firefox.MarionetteDriver.(MarionetteDriver.java:73) atorg.openqa.selenium.firefox.MarionetteDriver.(MarionetteDriver.java:45) atorg.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:49) atorg.r.tvbuname.AccountCreator.(AccountCreator.java:31) atorg.r.tvbuname.Main.main(Main.java:5)Causedby:java.lang.NullPointerExceptionatorg.openqa.selenium.remote.ErrorCodes.toStatus(ErrorCodes.java:256) atorg.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:118) atorg.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:42) atorg.openqa.selenium.remote.http.JsonHttpResponseCodec.decode(JsonHttpResponseCodec.java:78) atorg.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:145) atorg.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82) atorg.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)...8more


Reply to this email directly orview it on GitHub(#1431 (comment)).

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Jan 29, 2016

@AutomatedTester

No luck there.

Install latest nightly build with 47.0a1 (2016-01-29) version.

Try to create driver instance:

DesiredCapabilities capabilities = DesiredCapabilities.
System.setProperty("webdriver.gecko.driver", "C:\\temp\\marionette.exe");
capabilities.setCapability("marionette", true);
capabilities.setCapability("binary", "C:\\Program Files\\Nightly\\firefox.exe");
WebDriver driver = new MarionetteDriver(capabilities);

Got output:

1454100249178   Marionette  INFO    Marionette enabled via build flag and pref
1454100249295   Marionette  INFO    Listening on port 2828
1454100249525   Marionette  INFO    Accepted connection conn0 from 127.0.0.1:51936
1454100249525   Marionette  DEBUG   conn0 client <- {"applicationType":"gecko","marionetteProtocol":2}
1454100249531   Marionette  INFO    Closed connection conn0
Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.49.1', revision: '808c23b0963853d375cbe54b90bbd052e2528a54', time: '2016-01-21 09:37:52'
System info: host: 'moon', ip: '127.0.1.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: driver.version: MarionetteDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234)
    at org.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:73)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:49)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:51)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:30)
    at org.r.tvbuname.Main.main(Main.java:5)
Caused by: java.lang.NullPointerException
    at org.openqa.selenium.remote.ErrorCodes.toStatus(ErrorCodes.java:256)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:118)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:42)
    at org.openqa.selenium.remote.http.JsonHttpResponseCodec.decode(JsonHttpResponseCodec.java:78)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:145)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
    ... 8 more

rosolko commented Jan 29, 2016

@AutomatedTester

No luck there.

Install latest nightly build with 47.0a1 (2016-01-29) version.

Try to create driver instance:

DesiredCapabilities capabilities = DesiredCapabilities.
System.setProperty("webdriver.gecko.driver", "C:\\temp\\marionette.exe");
capabilities.setCapability("marionette", true);
capabilities.setCapability("binary", "C:\\Program Files\\Nightly\\firefox.exe");
WebDriver driver = new MarionetteDriver(capabilities);

Got output:

1454100249178   Marionette  INFO    Marionette enabled via build flag and pref
1454100249295   Marionette  INFO    Listening on port 2828
1454100249525   Marionette  INFO    Accepted connection conn0 from 127.0.0.1:51936
1454100249525   Marionette  DEBUG   conn0 client <- {"applicationType":"gecko","marionetteProtocol":2}
1454100249531   Marionette  INFO    Closed connection conn0
Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.49.1', revision: '808c23b0963853d375cbe54b90bbd052e2528a54', time: '2016-01-21 09:37:52'
System info: host: 'moon', ip: '127.0.1.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: driver.version: MarionetteDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234)
    at org.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:73)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:49)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:51)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:30)
    at org.r.tvbuname.Main.main(Main.java:5)
Caused by: java.lang.NullPointerException
    at org.openqa.selenium.remote.ErrorCodes.toStatus(ErrorCodes.java:256)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:118)
    at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:42)
    at org.openqa.selenium.remote.http.JsonHttpResponseCodec.decode(JsonHttpResponseCodec.java:78)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:145)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
    ... 8 more
@AutomatedTester

This comment has been minimized.

Show comment
Hide comment
@AutomatedTester

AutomatedTester Jan 29, 2016

Member

@rosolko
Was this using the latest wires release?

Member

AutomatedTester commented Jan 29, 2016

@rosolko
Was this using the latest wires release?

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Jan 30, 2016

@AutomatedTester
Download binary from this page.
Binary version from archive is also 0.6.2

rosolko commented Jan 30, 2016

@AutomatedTester
Download binary from this page.
Binary version from archive is also 0.6.2

@barancev

This comment has been minimized.

Show comment
Hide comment
@barancev

barancev Jan 30, 2016

Member

Please rerun the scenario with 2.50.1 to get more detailed exception info.

Member

barancev commented Jan 30, 2016

Please rerun the scenario with 2.50.1 to get more detailed exception info.

@barancev barancev closed this Jan 30, 2016

@barancev barancev reopened this Jan 30, 2016

@rosolko

This comment has been minimized.

Show comment
Hide comment
@rosolko

rosolko Feb 1, 2016

@barancev
For now I have behavior like this:

  • Init driver using code:
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
System.setProperty("webdriver.gecko.driver", "C:\\temp\\marionette.exe");
capabilities.setCapability("marionette", true);
capabilities.setCapability("binary", "C:\\Program Files\\Nightly\\firefox.exe");
return new MarionetteDriver(capabilities);
  • But start firefox stable
  • Log exception:
Exception in thread "main" Disconnected from the target VM, address: '127.0.0.1:56142', transport: 'socket'
org.openqa.selenium.WebDriverException: Unsupported marionette protocol version 2, required 3 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 861 milliseconds
Build info: version: '2.50.1', revision: 'd7fc91b29de65b790abb01f3ac5f7ea2191c88a7', time: '2016-01-29 11:11:26'
System info: host: 'moon', ip: '127.0.0.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: org.openqa.selenium.firefox.MarionetteDriver
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234)
    at org.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:73)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:49)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:53)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:30)
    at org.r.tvbuname.Main.main(Main.java:5)
  • Remove stable firefox release and run again
  • Catch exception:
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: '2.50.1', revision: 'd7fc91b29de65b790abb01f3ac5f7ea2191c88a7', time: '2016-01-29 11:11:26'
System info: host: 'moon', ip: '127.0.0.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: driver.version: MarionetteDriver
    at org.openqa.selenium.firefox.internal.Executable.<init>(Executable.java:75)
    at org.openqa.selenium.firefox.GeckoDriverService$Builder.createArgs(GeckoDriverService.java:93)
    at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:299)
    at org.openqa.selenium.firefox.MarionetteDriver.setupService(MarionetteDriver.java:94)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:71)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:49)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:53)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:30)
    at org.r.tvbuname.Main.main(Main.java:5)
  • Add path to binary C:\Program Files\Nightly\firefox.exe to environment variables and run again
  • Catch same exception as in previous step

rosolko commented Feb 1, 2016

@barancev
For now I have behavior like this:

  • Init driver using code:
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
System.setProperty("webdriver.gecko.driver", "C:\\temp\\marionette.exe");
capabilities.setCapability("marionette", true);
capabilities.setCapability("binary", "C:\\Program Files\\Nightly\\firefox.exe");
return new MarionetteDriver(capabilities);
  • But start firefox stable
  • Log exception:
Exception in thread "main" Disconnected from the target VM, address: '127.0.0.1:56142', transport: 'socket'
org.openqa.selenium.WebDriverException: Unsupported marionette protocol version 2, required 3 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 861 milliseconds
Build info: version: '2.50.1', revision: 'd7fc91b29de65b790abb01f3ac5f7ea2191c88a7', time: '2016-01-29 11:11:26'
System info: host: 'moon', ip: '127.0.0.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: org.openqa.selenium.firefox.MarionetteDriver
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234)
    at org.openqa.selenium.firefox.MarionetteDriver.run(MarionetteDriver.java:79)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:73)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:49)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:53)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:30)
    at org.r.tvbuname.Main.main(Main.java:5)
  • Remove stable firefox release and run again
  • Catch exception:
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: '2.50.1', revision: 'd7fc91b29de65b790abb01f3ac5f7ea2191c88a7', time: '2016-01-29 11:11:26'
System info: host: 'moon', ip: '127.0.0.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_66'
Driver info: driver.version: MarionetteDriver
    at org.openqa.selenium.firefox.internal.Executable.<init>(Executable.java:75)
    at org.openqa.selenium.firefox.GeckoDriverService$Builder.createArgs(GeckoDriverService.java:93)
    at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:299)
    at org.openqa.selenium.firefox.MarionetteDriver.setupService(MarionetteDriver.java:94)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:71)
    at org.openqa.selenium.firefox.MarionetteDriver.<init>(MarionetteDriver.java:49)
    at org.r.tvbuname.AccountCreator.initDriver(AccountCreator.java:53)
    at org.r.tvbuname.AccountCreator.<init>(AccountCreator.java:30)
    at org.r.tvbuname.Main.main(Main.java:5)
  • Add path to binary C:\Program Files\Nightly\firefox.exe to environment variables and run again
  • Catch same exception as in previous step
@kocstib

This comment has been minimized.

Show comment
Hide comment
@kocstib

kocstib Feb 7, 2016

Hi, any luck finding a solution? I am still getting the same error msg ("Failed to connect to binary...on port 7055") with the latest FF x64 and Webdriver under Win7. Thanks!
Tibi

kocstib commented Feb 7, 2016

Hi, any luck finding a solution? I am still getting the same error msg ("Failed to connect to binary...on port 7055") with the latest FF x64 and Webdriver under Win7. Thanks!
Tibi

@wikiped

This comment has been minimized.

Show comment
Hide comment
@wikiped

wikiped Feb 10, 2016

This MWRE is working for me:

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

firefox_capabilities = DesiredCapabilities.FIREFOX
firefox_capabilities['marionette'] = True
firefox_capabilities['binary'] = 'c:\\Program Files\\Mozilla Firefox\\firefox.exe'

ff = webdriver.Firefox(executable_path='c:\\Program Files\\Mozilla Firefox\\wires.exe')

ff.get("http://www.python.org")
assert "Python" in ff.title

elem = ff.find_element_by_name("q")
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)

assert "No results found." not in ff.page_source
ff.close()
ff.quit()

Latest version 0.6.2 of wires.exe has been copied to c:\Program Files\Mozilla Firefox and added to PATH.

After system reboot everything worked fine.

I am on Windows 10 x64 and Firefox x64 45.0b4:

about:buildconfig
Source
Built from https://hg.mozilla.org/releases/mozilla-beta/rev/ecd85817f48abf3da5592386eb8b3a837f13286f
Build platform
target
x86_64-pc-mingw32

selenium version is 2.51.0

wikiped commented Feb 10, 2016

This MWRE is working for me:

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

firefox_capabilities = DesiredCapabilities.FIREFOX
firefox_capabilities['marionette'] = True
firefox_capabilities['binary'] = 'c:\\Program Files\\Mozilla Firefox\\firefox.exe'

ff = webdriver.Firefox(executable_path='c:\\Program Files\\Mozilla Firefox\\wires.exe')

ff.get("http://www.python.org")
assert "Python" in ff.title

elem = ff.find_element_by_name("q")
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)

assert "No results found." not in ff.page_source
ff.close()
ff.quit()

Latest version 0.6.2 of wires.exe has been copied to c:\Program Files\Mozilla Firefox and added to PATH.

After system reboot everything worked fine.

I am on Windows 10 x64 and Firefox x64 45.0b4:

about:buildconfig
Source
Built from https://hg.mozilla.org/releases/mozilla-beta/rev/ecd85817f48abf3da5592386eb8b3a837f13286f
Build platform
target
x86_64-pc-mingw32

selenium version is 2.51.0

@barancev

This comment has been minimized.

Show comment
Hide comment
@barancev

barancev Feb 11, 2016

Member

Fixed by commit c9d0e1b

Member

barancev commented Feb 11, 2016

Fixed by commit c9d0e1b

@barancev barancev closed this Feb 11, 2016

@hubertgrzeskowiak

This comment has been minimized.

Show comment
Hide comment
@hubertgrzeskowiak

hubertgrzeskowiak Feb 13, 2016

Really the fix was simply switching one tag in install.rdf?! D'oh... didn't even think a second about that. Thanks @barancev.

hubertgrzeskowiak commented Feb 13, 2016

Really the fix was simply switching one tag in install.rdf?! D'oh... didn't even think a second about that. Thanks @barancev.

@oexza oexza referenced this issue Mar 31, 2016

Merged

Migration to Play 2.5 #298

7 of 7 tasks complete
@hana9090

This comment has been minimized.

Show comment
Hide comment
@hana9090

hana9090 Apr 25, 2016

have same issue <couldn't connect> on linux
with
Maven 3.1
Selenium v2.53
Firefox v45.0.1

hana9090 commented Apr 25, 2016

have same issue <couldn't connect> on linux
with
Maven 3.1
Selenium v2.53
Firefox v45.0.1

@vipin0060

This comment has been minimized.

Show comment
Hide comment
@vipin0060

vipin0060 Apr 28, 2016

Hi,
I am facing the same issue in
Ubuntu 12.04
Selenium 2.53
Firefox 45.0.2

vipin0060 commented Apr 28, 2016

Hi,
I am facing the same issue in
Ubuntu 12.04
Selenium 2.53
Firefox 45.0.2

@willyyang

This comment has been minimized.

Show comment
Hide comment
@willyyang

willyyang Apr 28, 2016

Same here

Mac OS X Yosemite
Selenium 2.48.1 and 2.53.0
FireFox 45

willyyang commented Apr 28, 2016

Same here

Mac OS X Yosemite
Selenium 2.48.1 and 2.53.0
FireFox 45

@kahing

This comment has been minimized.

Show comment
Hide comment
@kahing

kahing May 23, 2016

which released version of seleium has this fix?

kahing commented May 23, 2016

which released version of seleium has this fix?

@sandeepjain1987

This comment has been minimized.

Show comment
Hide comment
@sandeepjain1987

sandeepjain1987 Jun 23, 2016

I am facing this issue on FF 47, selenium 2.53.0 jar windows 7

sandeepjain1987 commented Jun 23, 2016

I am facing this issue on FF 47, selenium 2.53.0 jar windows 7

@loganmzz

This comment has been minimized.

Show comment
Hide comment
@loganmzz

loganmzz Jun 24, 2016

Not working here too, just new FirefoxDriver() on :

Xubuntu 16.04
Firefox 47
Selenium 2.53

loganmzz commented Jun 24, 2016

Not working here too, just new FirefoxDriver() on :

Xubuntu 16.04
Firefox 47
Selenium 2.53

@ernestm

This comment has been minimized.

Show comment
Hide comment
@ernestm

ernestm Jun 24, 2016

Same issue on El Capitan, FF 47, Selenium 2.53.5

ernestm commented Jun 24, 2016

Same issue on El Capitan, FF 47, Selenium 2.53.5

@doberkofler

This comment has been minimized.

Show comment
Hide comment
@doberkofler

doberkofler Jun 24, 2016

at lest for me, downgrading to FF 46 solved the problem.

doberkofler commented Jun 24, 2016

at lest for me, downgrading to FF 46 solved the problem.

@eroninjapan

This comment has been minimized.

Show comment
Hide comment
@eroninjapan

eroninjapan Jun 25, 2016

This should be re-opened. Same issue on OSX El Capitan 10.11.5, FF 47, Selenium 2.53.5

eroninjapan commented Jun 25, 2016

This should be re-opened. Same issue on OSX El Capitan 10.11.5, FF 47, Selenium 2.53.5

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Jun 25, 2016

Member

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

Member

lukeis commented Jun 25, 2016

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

@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Jun 25, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.