Hi,
Thanks for your reply.
But i try with other version of geckodriver like :
/**************** geckodriver-v0.22.0 **************************/
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException:
Unable to find a matching set of capabilities
Build info: version: '3.14.0', revision: 'aacccce0', time:
'2018-08-02T20:05:20.749Z'
System info: host: 'D-TN-5WQP9L2', ip: '10.2.80.196', os.name: 'Windows
10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver
remote stacktrace:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
at FirstPackage.FirstScript.main(FirstScript.java:12)
/********************* geckodriver-v0.21.0
*****************************************/
1542288244290 geckodriver INFO geckodriver 0.21.0
1542288244298 geckodriver INFO Listening on 127.0.0.1:45068
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException:
Unable to find a matching set of capabilities
Build info: version: '3.14.0', revision: 'aacccce0', time:
'2018-08-02T20:05:20.749Z'
System info: host: 'D-TN-5WQP9L2', ip: '10.2.80.196', os.name: 'Windows
10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver
remote stacktrace:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
at FirstPackage.FirstScript.main(FirstScript.java:12)
Post by Venu GDoes your gecko driver supports installed version of FF in your system...
Seems like version compatability.
Post by SaharHi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b55cd072-2eae-4d5f-b331-4d8281575f2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.