FF 26 and Se 2.39.0 not compatible

367 views
Skip to first unread message

Rick Simpson

unread,
Jan 2, 2014, 6:44:20 PM1/2/14
to seleniu...@googlegroups.com
Hi,

Fired up my automation for the first time since the holidays and discovered I couldn't get it run.  I did some digging around and discovered FF had upgraded to v26.  Did some more googling and found posts claiming that Se 2.39.0 fixed the problem.  I upgrade to 2.39.0 and the problem changed slightly but still had the same basic problem.  What I found upgrading to FF 26 was a failure trying to start the NewProfileExtensionConnection:

FAILED: blah
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin) on port 7055; process output follows:
*** LOG addons.manager: Application has been upgrade
*** LOG addons.xpi: startup

Driver info: driver.version: FirefoxDriver
at org
.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
at org
.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:251)
at org
.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org
.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:195)
at org
.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org
.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
...


After upgrading to 2.39.0, it appears to get a little further but still fails in the NewProfileExtensionConnection:

FAILED: blah
java
.lang.NoClassDefFoundError: com/google/common/base/Optional
at org
.openqa.selenium.firefox.internal.NewProfileExtensionConnection.loadCustomExtension(NewProfileExtensionConnection.java:156)
at org
.openqa.selenium.firefox.internal.NewProfileExtensionConnection.addWebDriverExtensionIfNeeded(NewProfileExtensionConnection.java:148)
at org
.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:80)
at org
.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:250)
at org
.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org
.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:195)
...


Is this a known issue? Is there a workaround outside of downgrading FF and Se?

Thanks


Per Engström

unread,
Jan 28, 2014, 7:07:33 AM1/28/14
to seleniu...@googlegroups.com
Hi!

I had the same problem with the same setup. I added the dependency com.google.guava:guava:16.0 to my project and the errors went away! Don't know if you are using maven, but if so add the following dependency:

<dependency>
 
<groupId>com.google.guava</groupId>
 
<artifactId>guava</artifactId>
 
<version>16.0</version>
 
<scope>test</scope>
</dependency>
Reply all
Reply to author
Forward
0 new messages