Issue 5470 in selenium: Unable to create FirefoxDriver() after upgrading to Selenium 2.32

23 views
Skip to first unread message

sele...@googlecode.com

unread,
Apr 10, 2013, 10:37:45 AM4/10/13
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 5470 by Karol.Ku...@gmail.com: Unable to create FirefoxDriver()
after upgrading to Selenium 2.32
http://code.google.com/p/selenium/issues/detail?id=5470

What steps will reproduce the problem?
1.Update selenium to 2.32 version
2.Execute tests using maven

What is the expected output? What do you see instead?
Exception like below:
java.lang.NoSuchMethodError:
org.openqa.selenium.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V
at
org.openqa.selenium.firefox.FirefoxProfile.updateUserPrefs(FirefoxProfile.java:333)
at
org.openqa.selenium.firefox.FirefoxProfile.layoutOnDisk(FirefoxProfile.java:450)
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:77)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:188)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:100)
at
com.wikia.webdriver.Common.DriverProvider.DriverProvider.getInstance(DriverProvider.java:62)
at
com.wikia.webdriver.Common.Templates.TestTemplate.startBrowser(TestTemplate.java:54)
at
com.wikia.webdriver.Common.Templates.TestTemplate.start(TestTemplate.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:653)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1203)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1128)
at org.testng.TestNG.run(TestNG.java:1036)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

Selenium version: 2.32
OS: Windows 7
Browser: Firefox
Browser version: 19.0.2


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
Apr 10, 2013, 4:21:08 PM4/10/13
to selenium-develope...@googlegroups.com
Updates:
Status: NeedsClarification
Labels: Browser-Firefox

Comment #1 on issue 5470 by barancev: Unable to create FirefoxDriver()
Please run mvn dependency:tree and paste the output here.

sele...@googlecode.com

unread,
Apr 11, 2013, 3:23:23 AM4/11/13
to selenium-develope...@googlegroups.com

Comment #2 on issue 5470 by Karol.Ku...@gmail.com: Unable to create
FirefoxDriver() after upgrading to Selenium 2.32
http://code.google.com/p/selenium/issues/detail?id=5470

mvn dependency:tree output below:

[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Test 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ Wikia ---
[INFO] com.wiki.qa:Wikia:jar:1.0-SNAPSHOT
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.2.3:compile
[INFO] +- net.kennychua:phantomjs-qunit-runner:jar:1.0.14:compile
[INFO] | +- org.apache.maven:maven-plugin-api:jar:2.0:compile
[INFO] | +- commons-io:commons-io:jar:2.1:compile
[INFO] | \- org.apache.maven.shared:file-management:jar:1.2.1:compile
[INFO] | +- org.apache.maven.shared:maven-shared-io:jar:1.1:compile
[INFO] | | +- org.apache.maven:maven-artifact:jar:2.0.2:compile
[INFO] | | +- org.apache.maven:maven-artifact-manager:jar:2.0.2:compile
[INFO] | | | \-
org.apache.maven:maven-repository-metadata:jar:2.0.2:compile
[INFO] | | \-
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
[INFO] | +- org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
[INFO] | \-
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
[INFO] | \- classworlds:classworlds:jar:1.1-alpha-2:compile
[INFO] +- biz.neustar:browsermob-proxy:jar:2.0-beta-7:compile
[INFO] | +- org.slf4j:slf4j-jdk14:jar:1.5.3:compile
[INFO] | | \- org.slf4j:slf4j-api:jar:1.5.3:compile
[INFO] | +- com.google.sitebricks:sitebricks:jar:0.8.3:compile
[INFO] | | +- org.mvel:mvel2:jar:2.0.18:compile
[INFO] | | +- com.intellij:annotations:jar:7.0.3:compile
[INFO] | | +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | +- jaxen:jaxen:jar:1.1.1:compile
[INFO] | | | +- jdom:jdom:jar:1.0:compile
[INFO] | | | \- xom:xom:jar:1.0:compile
[INFO] | | | +- xerces:xmlParserAPIs:jar:2.6.2:compile
[INFO] | | | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | | \- com.ibm.icu:icu4j:jar:2.6.1:compile
[INFO] | | +- saxpath:saxpath:jar:1.0-FCS:compile
[INFO] | | +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] | | +- com.thoughtworks.xstream:xstream:jar:1.3.1:compile
[INFO] | | | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] | | +- org.jsoup:jsoup:jar:1.4.1:compile
[INFO] | | \- org.freemarker:freemarker:jar:2.3.10:compile
[INFO] | +-
com.google.inject.extensions:guice-multibindings:jar:3.0:compile
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.7.1:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.7.1:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.1.3:compile
[INFO] | +- net.sf.jopt-simple:jopt-simple:jar:3.2:compile
[INFO] | +- org.apache.ant:ant:jar:1.8.2:compile
[INFO] | | \- org.apache.ant:ant-launcher:jar:1.8.2:compile
[INFO] | +- org.bouncycastle:bcprov-jdk15on:jar:1.47:compile
[INFO] | +- org.eclipse.jetty:jetty-server:jar:7.3.0.v20110203:compile
[INFO] | | +-
org.eclipse.jetty:jetty-continuation:jar:7.3.0.v20110203:compile
[INFO] | | \- org.eclipse.jetty:jetty-http:jar:7.3.0.v20110203:compile
[INFO] | | \- org.eclipse.jetty:jetty-io:jar:7.3.0.v20110203:compile
[INFO] | | \-
org.eclipse.jetty:jetty-util:jar:7.3.0.v20110203:compile
[INFO] | +- org.eclipse.jetty:jetty-servlet:jar:7.3.0.v20110203:compile
[INFO] | | \- org.eclipse.jetty:jetty-security:jar:7.3.0.v20110203:compile
[INFO] | +- com.google.inject:guice:jar:3.0:compile
[INFO] | | +- javax.inject:javax.inject:jar:1:compile
[INFO] | | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] | +- com.google.inject.extensions:guice-servlet:jar:3.0:compile
[INFO] | \- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] +- xmlunit:xmlunit:jar:1.3:compile
[INFO] +- org.testng:testng:jar:6.7:test
[INFO] | +- org.beanshell:bsh:jar:2.0b4:test
[INFO] | +- com.beust:jcommander:jar:1.12:test
[INFO] | \- org.yaml:snakeyaml:jar:1.6:test
[INFO] +- junit:junit:jar:4.8.1:test (scope not updated to compile)
[INFO] +- org.seleniumhq.selenium:selenium-server:jar:2.32.0:provided
(scope not updated to compile)
[INFO] | +- org.bouncycastle:bcpkix-jdk15on:jar:1.48:provided
[INFO] | +- mx4j:mx4j-tools:jar:3.0.1:provided
[INFO] | +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.9:provided
[INFO] | \- org.seleniumhq.selenium:jetty-repacked:jar:7.6.1:provided
[INFO] +- org.seleniumhq.selenium:selenium-java:jar:2.32.0:provided (scope
not updated to compile)
[INFO] | +-
org.seleniumhq.selenium:selenium-android-driver:jar:2.32.0:provided
[INFO] | +-
org.seleniumhq.selenium:selenium-chrome-driver:jar:2.32.0:provided
[INFO] | +-
org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.32.0:provided
[INFO] | | \- net.sourceforge.htmlunit:htmlunit:jar:2.12:provided
[INFO] | | +- org.apache.commons:commons-lang3:jar:3.1:provided
[INFO] | | +-
net.sourceforge.htmlunit:htmlunit-core-js:jar:2.12:provided
[INFO] | | +- xerces:xercesImpl:jar:2.10.0:provided
[INFO] | | | \- xml-apis:xml-apis:jar:1.4.01:provided
[INFO] | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.18:provided
[INFO] | | +- net.sourceforge.cssparser:cssparser:jar:0.9.9:provided
[INFO] | | | \- org.w3c.css:sac:jar:1.3:provided
[INFO] | | \-
org.eclipse.jetty:jetty-websocket:jar:8.1.9.v20130131:provided
[INFO] | +-
org.seleniumhq.selenium:selenium-firefox-driver:jar:2.32.0:provided
[INFO] | +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.32.0:provided
[INFO] | +-
org.seleniumhq.selenium:selenium-iphone-driver:jar:2.32.0:provided
[INFO] | +-
org.seleniumhq.selenium:selenium-safari-driver:jar:2.32.0:provided
[INFO] | +- org.seleniumhq.selenium:selenium-support:jar:2.32.0:provided
[INFO] | \- org.webbitserver:webbit:jar:0.4.14:provided
[INFO] | \- io.netty:netty:jar:3.5.2.Final:provided
[INFO] +- org.seleniumhq.selenium:selenium-api:jar:2.32.0:compile
[INFO] | +- com.google.guava:guava:jar:14.0:compile
[INFO] | \- org.json:json:jar:20080701:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
[INFO] | +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | \- commons-codec:commons-codec:jar:1.4:compile
[INFO] +- javax.mail:mail:jar:1.4.4:compile
[INFO] | \- javax.activation:activation:jar:1.1:compile
[INFO] +- org.apache.commons:commons-io:jar:1.3.2:compile
[INFO] +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | +- commons-lang:commons-lang:jar:2.4:compile
[INFO] | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] \- com.github.detro.ghostdriver:phantomjsdriver:jar:1.0.1:compile
[INFO] \-
org.seleniumhq.selenium:selenium-remote-driver:jar:2.28.0:compile
[INFO] +- cglib:cglib-nodep:jar:2.1_3:compile
[INFO] +- org.apache.commons:commons-exec:jar:1.1:compile
[INFO] +- net.java.dev.jna:jna:jar:3.4.0:compile
[INFO] \- net.java.dev.jna:platform:jar:3.4.0:compile
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.230s
[INFO] Finished at: Thu Apr 11 09:20:24 CEST 2013
[INFO] Final Memory: 12M/218M
[INFO]
------------------------------------------------------------------------

sele...@googlecode.com

unread,
Apr 11, 2013, 3:39:33 AM4/11/13
to selenium-develope...@googlegroups.com
Updates:
Labels: -Status-Untriaged

Comment #3 on issue 5470 by barancev: Unable to create FirefoxDriver()
You have outdated libraries in ther path:

\- com.github.detro.ghostdriver:phantomjsdriver:jar:1.0.1:compile
\- org.seleniumhq.selenium:selenium-remote-driver:jar:2.28.0:compile

Please change phantomjsdriver:jar version to 1.3 (and
selenium-remote-driver:jar should become 2.32 after this change)

sele...@googlecode.com

unread,
Apr 11, 2013, 4:04:46 AM4/11/13
to selenium-develope...@googlegroups.com

Comment #4 on issue 5470 by ka...@wikia-inc.com: Unable to create
FirefoxDriver() after upgrading to Selenium 2.32
http://code.google.com/p/selenium/issues/detail?id=5470

After updating phantomjsdriver:jar everything is fine.
Thanks!

sele...@googlecode.com

unread,
Apr 11, 2013, 4:29:29 AM4/11/13
to selenium-develope...@googlegroups.com
Updates:
Status: WorkingAsIntended

Comment #5 on issue 5470 by barancev: Unable to create FirefoxDriver()
(No comment was entered for this change.)

sele...@googlecode.com

unread,
Apr 29, 2013, 2:13:17 AM4/29/13
to selenium-develope...@googlegroups.com

Comment #6 on issue 5470 by ankitada...@gmail.com: Unable to create
FirefoxDriver() after upgrading to Selenium 2.32
http://code.google.com/p/selenium/issues/detail?id=5470

Hi,

I am not using phantomjsdriver:jar but I am still getting the same error.
Is there any other jar that needs to be updated.

Below is my mvn dependency:tree output:

[INFO] +- org.codehaus.groovy:groovy-all:jar:1.7.3:compile
[INFO] +- org.testng:testng:jar:6.1.1:test
[INFO] | +- org.beanshell:bsh:jar:2.0b4:test
[INFO] | \- com.beust:jcommander:jar:1.12:test
[INFO] +- org.seleniumhq.selenium:selenium-java:jar:2.32.0:compile
[INFO] | +-
org.seleniumhq.selenium:selenium-android-driver:jar:2.32.0:compile
[INFO] | +-
org.seleniumhq.selenium:selenium-firefox-driver:jar:2.32.0:compile
[INFO] | | +- commons-io:commons-io:jar:2.2:compile
[INFO] | | \- org.apache.commons:commons-exec:jar:1.1:compile
[INFO] | +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.32.0:compile
[INFO] | | +- net.java.dev.jna:jna:jar:3.4.0:compile
[INFO] | | \- net.java.dev.jna:platform:jar:3.4.0:compile
[INFO] | +-
org.seleniumhq.selenium:selenium-iphone-driver:jar:2.32.0:compile
[INFO] | +-
org.seleniumhq.selenium:selenium-safari-driver:jar:2.32.0:compile
[INFO] | \- org.webbitserver:webbit:jar:0.4.14:compile
[INFO] | \- io.netty:netty:jar:3.5.2.Final:compile
[INFO] +- org.seleniumhq.selenium:selenium-support:jar:2.32.0:compile
[INFO] | \- org.seleniumhq.selenium:selenium-api:jar:2.32.0:compile
[INFO] | +- com.google.guava:guava:jar:14.0:compile
[INFO] | \- org.json:json:jar:20080701:compile
[INFO] +- org.seleniumhq.selenium:selenium-server:jar:2.32.0:compile
[INFO] | +- org.bouncycastle:bcprov-jdk15on:jar:1.48:compile
[INFO] | +- org.bouncycastle:bcpkix-jdk15on:jar:1.48:compile
[INFO] | +- mx4j:mx4j-tools:jar:3.0.1:compile
[INFO] | +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.9:compile
[INFO] | +- org.seleniumhq.selenium:jetty-repacked:jar:7.6.1:compile
[INFO] | +- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] | +- org.yaml:snakeyaml:jar:1.6:compile
[INFO] | \- commons-codec:commons-codec:jar:1.6:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.2.3:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.mortbay.jetty:maven-jetty-plugin:jar:6.1.26:compile
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.26:compile
[INFO] | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
[INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
[INFO] | +- org.apache.maven:maven-project:jar:2.0.3:compile
[INFO] | | +- org.apache.maven:maven-settings:jar:2.0.3:compile
[INFO] | | +- org.apache.maven:maven-profile:jar:2.0.3:compile
[INFO] | | +- org.apache.maven:maven-model:jar:2.0.3:compile
[INFO] | | +- org.apache.maven:maven-artifact-manager:jar:2.0.3:compile
[INFO] | | | +-
org.apache.maven:maven-repository-metadata:jar:2.0.3:compile
[INFO] | | | \-
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
[INFO] | | +- org.codehaus.plexus:plexus-utils:jar:1.1:compile
[INFO] | | \-
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
[INFO] | | \- classworlds:classworlds:jar:1.1-alpha-2:compile
[INFO] | +- org.apache.maven:maven-plugin-api:jar:2.0.3:compile
[INFO] | +- org.apache.maven:maven-artifact:jar:2.0.3:compile
[INFO] | +- org.apache.maven:maven-plugin-tools-api:jar:2.0:compile
[INFO] | | \- org.apache.maven:maven-plugin-descriptor:jar:2.0:compile
[INFO] | +- org.mortbay.jetty:jetty-plus:jar:6.1.26:compile
[INFO] | | \- geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:compile
[INFO] | +- org.mortbay.jetty:jetty-naming:jar:6.1.26:compile
[INFO] | | +- javax.mail:mail:jar:1.4:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- org.mortbay.jetty:jetty-management:jar:6.1.26:compile
[INFO] | +- org.mortbay.jetty:jsp-2.1-jetty:jar:6.1.26:compile
[INFO] | | +- org.eclipse.jdt:core:jar:3.1.1:compile
[INFO] | | +-
org.mortbay.jetty:jsp-api-2.1-glassfish:jar:2.1.v20091210:compile
[INFO] | | +-
org.mortbay.jetty:jsp-2.1-glassfish:jar:2.1.v20091210:compile
[INFO] | | | \- org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile
[INFO] | | \- ant:ant:jar:1.6.5:compile
[INFO] | +- org.mortbay.jetty:jetty-annotations:jar:6.1.26:compile
[INFO] | | \-
org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.0:compile
[INFO] | \- org.mortbay.jetty:start:jar:6.1.26:compile
[INFO] +- org.jyaml:jyaml:jar:1.3:compile
[INFO] +- junit:junit:jar:4.8.1:test (scope not updated to compile)
[INFO] +-
org.codehaus.groovy.modules.http-builder:http-builder:jar:0.5.0:compile
[INFO] | +- net.sf.json-lib:json-lib:jar:jdk15:2.3:compile
[INFO] | | +- commons-beanutils:commons-beanutils:jar:1.8.0:compile
[INFO] | | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | +- commons-lang:commons-lang:jar:2.4:compile
[INFO] | | \- net.sf.ezmorph:ezmorph:jar:1.0.6:compile
[INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.9:compile
[INFO] | | \- xerces:xercesImpl:jar:2.8.1:compile
[INFO] | | \- xml-apis:xml-apis:jar:1.3.03:compile
[INFO] | \- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] +- org.openqa.selenium.webdriver:webdriver-safari:jar:0.5.484:test
[INFO] | \- org.openqa.selenium.webdriver:webdriver-common:jar:0.5.484:test
[INFO] +- org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.4.0:compile
[INFO] | \- net.sourceforge.htmlunit:htmlunit:jar:2.8:compile
[INFO] | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | \- xalan:serializer:jar:2.7.1:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.0.1:compile
[INFO] | | \- org.apache.james:apache-mime4j:jar:0.6:compile
[INFO] | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.8:compile
[INFO] | \- net.sourceforge.cssparser:cssparser:jar:0.9.5:compile
[INFO] | \- org.w3c.css:sac:jar:1.3:compile
[INFO] \- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.30.0:compile
[INFO] \-
org.seleniumhq.selenium:selenium-remote-driver:jar:2.30.0:compile
[INFO] \- cglib:cglib-nodep:jar:2.1_3:compile

sele...@googlecode.com

unread,
Apr 29, 2013, 2:35:48 AM4/29/13
to selenium-develope...@googlegroups.com

Comment #7 on issue 5470 by barancev: Unable to create FirefoxDriver()
\- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.30.0:compile
\- org.seleniumhq.selenium:selenium-remote-driver:jar:2.30.0:compile

sele...@googlecode.com

unread,
Oct 18, 2013, 7:19:06 AM10/18/13
to selenium-develope...@googlegroups.com

Comment #8 on issue 5470 by prasad.b...@gmail.com: Unable to create
FirefoxDriver() after upgrading to Selenium 2.32
http://code.google.com/p/selenium/issues/detail?id=5470

Now its working with firefox, I update my pom.xml with below dependencies
Reference : https://github.com/Ardesco/Selenium-Maven-Template/issues/2

<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.35.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.opera</groupId>
<artifactId>operadriver</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.opera</groupId>
<artifactId>operadriver</artifactId>
<version>1.5</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.detro.ghostdriver</groupId>
<artifactId>phantomjsdriver</artifactId>
<version>1.0.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.30</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>2.35.0</version>
</dependency>
</dependencies>

sele...@googlecode.com

unread,
Mar 6, 2014, 12:25:27 PM3/6/14
to selenium-develope...@googlegroups.com

Comment #9 on issue 5470 by rajkumar...@news.co.uk: Unable to create
FirefoxDriver() after upgrading to Selenium 2.32
http://code.google.com/p/selenium/issues/detail?id=5470

I am getting same issue, Could you please let me know what's causing it

[INFO] +- org.mortbay.jetty:jetty:jar:6.1.14:compile
[INFO] | \- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:compile
[INFO] +- org.mortbay.jetty:jetty-util:jar:6.1.14:compile
[INFO] +- org.mortbay.jetty:jetty-plus:jar:6.1.14:compile
[INFO] | \- geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:compile
[INFO] +- org.mortbay.jetty:jsp-2.1:jar:6.1.14:compile
[INFO] | +- org.eclipse.jdt:core:jar:3.1.1:compile
[INFO] | \- ant:ant:jar:1.6.5:compile
[INFO] +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:compile
[INFO] +- org.apache.ant:ant-antlr:jar:1.7.1:compile
[INFO] +- mysql:mysql-connector-java:jar:5.1.6:compile
[INFO] +- commons-net:commons-net:jar:2.0:compile
[INFO] +- com.amazonaws:aws-java-sdk:jar:1.3.10:compile
[INFO] | +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.8.11:compile
[INFO] +- net.sourceforge.jexcelapi:jxl:jar:2.6.10:compile
[INFO] +- log4j:log4j:jar:1.2.17:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- net.sf.opencsv:opencsv:jar:2.3:compile
[INFO] +- com.jcraft:jsch:jar:0.1.49:compile
[INFO] +- javax.persistence:persistence-api:jar:1.0:compile
[INFO] +- org.apache.ws.commons.schema:XmlSchema:jar:1.4.2:compile
[INFO] +- xerces:xercesImpl:jar:2.8.1:compile
[INFO] | \- xml-apis:xml-apis:jar:1.3.03:compile
[INFO] +- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] +- org.apache.woden:woden-impl-dom:jar:1.0M8:compile
[INFO] | +- org.apache.ant:ant:jar:1.7.0:compile
[INFO] | | \- org.apache.ant:ant-launcher:jar:1.7.0:compile
[INFO] | \- xerces:xmlParserAPIs:jar:2.6.0:compile
[INFO] +- org.apache.woden:woden-api:jar:1.0M8:compile
[INFO] +- org.apache.neethi:neethi:jar:2.0.4:compile
[INFO] | \- org.codehaus.woodstox:wstx-asl:jar:3.2.4:compile
[INFO] | \- stax:stax-api:jar:1.0.1:compile
[INFO] +- org.testng:testng:jar:6.3.1:compile
[INFO] | +- org.beanshell:bsh:jar:2.0b4:compile
[INFO] | +- com.beust:jcommander:jar:1.12:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.6:compile
[INFO] +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] +- commons-codec:commons-codec:jar:1.3:compile
[INFO] +- backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[INFO] +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:compile
[INFO] | +-
org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:compile
[INFO] | +-
org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:compile
[INFO] | +- jaxen:jaxen:jar:1.1.1:compile
[INFO] | \-
org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
[INFO] +- javax.activation:activation:jar:1.1:compile
[INFO] +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:compile
[INFO] +- junit:junit:jar:4.10:compile
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.1:compile
[INFO] +- org.apache.axis2:axis2:jar:1.4:compile
[INFO] +- javax.mail:mail:jar:1.4:compile
[INFO] +- org.apache.poi:poi:jar:3.9:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:3.9:compile
[INFO] | +- org.apache.poi:poi-ooxml-schemas:jar:3.9:compile
[INFO] | | \- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
[INFO] | \- dom4j:dom4j:jar:1.6.1:compile
[INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.8.5:compile
[INFO] +- com.jayway.restassured:rest-assured:jar:1.6.2:test
[INFO] | +- org.codehaus.groovy:groovy:jar:1.8.4:test
[INFO] | | +- antlr:antlr:jar:2.7.7:test
[INFO] | | +- asm:asm:jar:3.2:test
[INFO] | | +- asm:asm-commons:jar:3.2:test
[INFO] | | +- asm:asm-util:jar:3.2:test
[INFO] | | +- asm:asm-analysis:jar:3.2:test
[INFO] | | \- asm:asm-tree:jar:3.2:test
[INFO] | +- org.hamcrest:hamcrest-library:jar:1.2.1:test
[INFO] | \- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test
[INFO] +- com.sun.jersey:jersey-client:jar:1.8:compile
[INFO] | \- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.2.3:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.1.3:compile
[INFO] +- org.springframework:spring:jar:2.5.6:compile
[INFO] +- joda-time:joda-time:jar:1.5.2:compile
[INFO] +- com.salesforce:soapapi:jar:1.0:system
[INFO] +- com.salesforce.apex:soapapiapex:jar:1.0:system
[INFO] +- com.force.api:force-metadata-api:jar:27.0.0:compile
[INFO] +- com.cmp.mpp:mmpsoap:jar:1.0:system
[INFO] +- com.force.api:force-wsc:jar:27.0.0:compile
[INFO] | +- com.google.code.gson:gson:jar:1.7.1:compile
[INFO] | \- rhino:js:jar:1.7R2:compile
[INFO] +- com.force.api:force-partner-api:jar:27.0.0:compile
[INFO] +- com.github.detro.ghostdriver:phantomjsdriver:jar:1.0.1:compile
[INFO] | +- org.seleniumhq.selenium:selenium-java:jar:2.28.0:compile
[INFO] | | +-
org.seleniumhq.selenium:selenium-android-driver:jar:2.28.0:compile
[INFO] | | +-
org.seleniumhq.selenium:selenium-chrome-driver:jar:2.28.0:compile
[INFO] | | +-
org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.28.0:compile
[INFO] | | | \- net.sourceforge.htmlunit:htmlunit:jar:2.11:compile
[INFO] | | | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | | | \- xalan:serializer:jar:2.7.1:compile
[INFO] | | | +-
commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | | +- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] | | | +- org.apache.httpcomponents:httpmime:jar:4.1.3:compile
[INFO] | | | +-
net.sourceforge.htmlunit:htmlunit-core-js:jar:2.11:compile
[INFO] | | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.17:compile
[INFO] | | | +- net.sourceforge.cssparser:cssparser:jar:0.9.8:compile
[INFO] | | | | \- org.w3c.css:sac:jar:1.3:compile
[INFO] | | | \-
org.eclipse.jetty:jetty-websocket:jar:8.1.7.v20120910:compile
[INFO] | | | +-
org.eclipse.jetty:jetty-util:jar:8.1.7.v20120910:compile
[INFO] | | | +-
org.eclipse.jetty:jetty-io:jar:8.1.7.v20120910:compile
[INFO] | | | \-
org.eclipse.jetty:jetty-http:jar:8.1.7.v20120910:compile
[INFO] | | +-
org.seleniumhq.selenium:selenium-ie-driver:jar:2.28.0:compile
[INFO] | | +-
org.seleniumhq.selenium:selenium-iphone-driver:jar:2.28.0:compile
[INFO] | | +-
org.seleniumhq.selenium:selenium-safari-driver:jar:2.28.0:compile
[INFO] | | +- org.seleniumhq.selenium:selenium-support:jar:2.28.0:compile
[INFO] | | \- org.webbitserver:webbit:jar:0.4.14:compile
[INFO] | | \- io.netty:netty:jar:3.5.2.Final:compile
[INFO] | +- org.seleniumhq.selenium:selenium-server:jar:2.28.0:compile
[INFO] | | +- org.bouncycastle:bcprov-jdk15on:jar:1.47:compile
[INFO] | | +- org.bouncycastle:bcpkix-jdk15on:jar:1.47:compile
[INFO] | | +- mx4j:mx4j-tools:jar:3.0.1:compile
[INFO] | | +- org.seleniumhq.selenium:jetty-repacked:jar:7.6.1:compile
[INFO] | | \- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] | \-
org.seleniumhq.selenium:selenium-remote-driver:jar:2.28.0:compile
[INFO] | +- cglib:cglib-nodep:jar:2.1_3:compile
[INFO] | +- org.json:json:jar:20080701:compile
[INFO] | +- org.seleniumhq.selenium:selenium-api:jar:2.28.0:compile
[INFO] | +- com.google.guava:guava:jar:13.0.1:compile
[INFO] | +- net.java.dev.jna:jna:jar:3.4.0:compile
[INFO] | \- net.java.dev.jna:platform:jar:3.4.0:compile
[INFO] +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.37.0:compile
[INFO] | \- org.apache.commons:commons-exec:jar:1.1:compile
[INFO] +- commons-io:commons-io:jar:1.3.2:compile
[INFO] +- info.cukes:cucumber-jvm-deps:jar:1.0.3:compile
[INFO] +- info.cukes:cucumber-java:jar:1.1.5:compile
[INFO] | \- info.cukes:cucumber-core:jar:1.1.5:compile
[INFO] | +- info.cukes:cucumber-html:jar:0.2.3:compile
[INFO] | \- info.cukes:gherkin:jar:2.12.1:compile
[INFO] \- info.cukes:cucumber-testng:jar:1.1.5:test

sele...@googlecode.com

unread,
Mar 6, 2014, 12:26:27 PM3/6/14
to selenium-develope...@googlegroups.com

Comment #10 on issue 5470 by rajkuma...@gmail.com: Unable to create
Reply all
Reply to author
Forward
0 new messages