Re: [Dev] Selenium version compatibility issues with Firefox

2018-01-22 Thread Prakhash Sivakumar
Hi Asanka,

I faced a similar issue with Firefox Version sometimes back, AFAIR I used
46.0 to overcome this issue.

Thanks





On Tue, Jan 23, 2018 at 11:17 AM, Asanka Vithanage  wrote:

> Hi All,
>
> I am trying to automate some UI pages with selenium. I am getting version
> compatibility issues with Firefox browser and need to figure out working
> version combination. Did a bit of search on internet and couldnt find the
> exact compatibility matrix.
> I am not seeing this kind of issue with the chrome browser, so currently
> continuing my work on that.
>
> So appreciate any help on this.
>
>
>
> With Firefox Version 51.0.1  Selenium version 3.8.1
> geckodriver-v0.19.1-linux64
>
> Getting Below Error :
>
> 1516684299189   geckodriver INFOgeckodriver 0.19.1
> 1516684299195   geckodriver INFOListening on 127.0.0.1:14046
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 0.773 sec
> <<< FAILURE!
> init(com.wso2.finance.intergration.tests.testcases.ui.StoreUITestCase)
> Time elapsed: 0.696 sec  <<< FAILURE!
> org.openqa.selenium.SessionNotCreatedException: Unable to find a matching
> set of capabilities
> Build info: version: '3.8.1', revision: '6e95a6684b', time:
> '2017-12-01T18:33:54.468Z'
> System info: host: 'asankav-ThinkPad-T540p', ip: '127.0.0.1', os.name:
> 'Linux', os.arch: 'amd64', os.version: '4.4.0-62-generic', java.version:
> '1.8.0_45'
> Driver info: driver.version: FirefoxDriver
> remote stacktrace: stack backtrace:
>0:   0x4edb3c - backtrace::backtrace::trace::hc4bd56a2f176de7e
>1:   0x4edb72 - backtrace::capture::Backtrace:
> :new::he3b2a15d39027c46
>2:   0x4409a1 - webdriver::error::WebDriverError::new::
> h81babdd86c977032
>3:   0x441ab6 - geckodriver::marionette::
> MarionetteHandler::create_connection::hf0532ddb9e159684
>4:   0x428570 -  U>>::run::h2119c674d7b88193
>5:   0x4029b9 - std::sys_common::backtrace::__
> rust_begin_short_backtrace::h21d98a9ff86d4c25
>6:   0x40be65 - std::panicking::try::do_call::h5cff0c9b18cfdbba
>7:   0x5e6a6c - panic_unwind::__rust_maybe_catch_panic
> at /checkout/src/libpanic_unwind/lib.rs:99
>8:   0x41eb22 - >::call_
> box::h413eb1d9d9f1c473
>9:   0x5df13b - alloc::boxed::{{impl}}::call_once<(),()>
> at /checkout/src/liballoc/boxed.rs:692
>  - std::sys_common::thread::start_thread
> at /checkout/src/libstd/sys_common/thread.rs:21
>  - std::sys::imp::thread::{{impl}
> }::new::thread_start
> at /checkout/src/libstd/sys/unix/thread.rs:84
> 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.W3CHandshakeResponse.lambda$
> new$0(W3CHandshakeResponse.java:57)
> at 
> org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$120/1906879951.apply(Unknown
> Source)
> at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$
> getResponseFunction$2(W3CHandshakeResponse.java:104)
> at 
> org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$122/137225802.apply(Unknown
> Source)
> at org.openqa.selenium.remote.ProtocolHandshake.lambda$
> createSession$0(ProtocolHandshake.java:123)
> at 
> org.openqa.selenium.remote.ProtocolHandshake$$Lambda$123/1374066265.apply(Unknown
> Source)
> at java.util.stream.ReferencePipeline$3$1.accept(
> ReferencePipeline.java:193)
> at java.util.Spliterators$ArraySpliterator.tryAdvance(
> Spliterators.java:958)
> at java.util.stream.ReferencePipeline.forEachWithCancel(
> ReferencePipeline.java:126)
> at java.util.stream.AbstractPipeline.copyIntoWithCancel(
> AbstractPipeline.java:529)
> at java.util.stream.AbstractPipeline.copyInto(
> AbstractPipeline.java:516)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(
> AbstractPipeline.java:502)
> at java.util.stream.FindOps$FindOp.evaluateSequential(
> FindOps.java:152)
> at java.util.stream.AbstractPipeline.evaluate(
> AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.findFirst(
> ReferencePipeline.java:464)
> at org.openqa.selenium.remote.ProtocolHandshake.createSession(
> ProtocolHandshake.java:126)
> at org.openqa.selenium.remote.ProtocolHandshake.createSession(
> ProtocolHandshake.java:73)
> at org.openqa.selenium.remote.HttpCommandExecutor.execute(
> HttpCommandExecutor.java:142)
> at 

Re: [Dev] Selenium version compatibility issues with Firefox

2018-01-22 Thread Nadeeshani Pathirennehelage
Hi Asanaka,

It works with Firefox Version 46.0.

Thanks,
Nadeeshani.

On Tue, Jan 23, 2018 at 11:17 AM, Asanka Vithanage  wrote:

> Hi All,
>
> I am trying to automate some UI pages with selenium. I am getting version
> compatibility issues with Firefox browser and need to figure out working
> version combination. Did a bit of search on internet and couldnt find the
> exact compatibility matrix.
> I am not seeing this kind of issue with the chrome browser, so currently
> continuing my work on that.
>
> So appreciate any help on this.
>
>
>
> With Firefox Version 51.0.1  Selenium version 3.8.1
> geckodriver-v0.19.1-linux64
>
> Getting Below Error :
>
> 1516684299189   geckodriver INFOgeckodriver 0.19.1
> 1516684299195   geckodriver INFOListening on 127.0.0.1:14046
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 0.773 sec
> <<< FAILURE!
> init(com.wso2.finance.intergration.tests.testcases.ui.StoreUITestCase)
> Time elapsed: 0.696 sec  <<< FAILURE!
> org.openqa.selenium.SessionNotCreatedException: Unable to find a matching
> set of capabilities
> Build info: version: '3.8.1', revision: '6e95a6684b', time:
> '2017-12-01T18:33:54.468Z'
> System info: host: 'asankav-ThinkPad-T540p', ip: '127.0.0.1', os.name:
> 'Linux', os.arch: 'amd64', os.version: '4.4.0-62-generic', java.version:
> '1.8.0_45'
> Driver info: driver.version: FirefoxDriver
> remote stacktrace: stack backtrace:
>0:   0x4edb3c - backtrace::backtrace::trace::hc4bd56a2f176de7e
>1:   0x4edb72 - backtrace::capture::Backtrace:
> :new::he3b2a15d39027c46
>2:   0x4409a1 - webdriver::error::WebDriverError::new::
> h81babdd86c977032
>3:   0x441ab6 - geckodriver::marionette::
> MarionetteHandler::create_connection::hf0532ddb9e159684
>4:   0x428570 -  U>>::run::h2119c674d7b88193
>5:   0x4029b9 - std::sys_common::backtrace::__
> rust_begin_short_backtrace::h21d98a9ff86d4c25
>6:   0x40be65 - std::panicking::try::do_call::h5cff0c9b18cfdbba
>7:   0x5e6a6c - panic_unwind::__rust_maybe_catch_panic
> at /checkout/src/libpanic_unwind/lib.rs:99
>8:   0x41eb22 - >::call_
> box::h413eb1d9d9f1c473
>9:   0x5df13b - alloc::boxed::{{impl}}::call_once<(),()>
> at /checkout/src/liballoc/boxed.rs:692
>  - std::sys_common::thread::start_thread
> at /checkout/src/libstd/sys_common/thread.rs:21
>  - std::sys::imp::thread::{{impl}
> }::new::thread_start
> at /checkout/src/libstd/sys/unix/thread.rs:84
> 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.W3CHandshakeResponse.lambda$
> new$0(W3CHandshakeResponse.java:57)
> at 
> org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$120/1906879951.apply(Unknown
> Source)
> at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$
> getResponseFunction$2(W3CHandshakeResponse.java:104)
> at 
> org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$122/137225802.apply(Unknown
> Source)
> at org.openqa.selenium.remote.ProtocolHandshake.lambda$
> createSession$0(ProtocolHandshake.java:123)
> at 
> org.openqa.selenium.remote.ProtocolHandshake$$Lambda$123/1374066265.apply(Unknown
> Source)
> at java.util.stream.ReferencePipeline$3$1.accept(
> ReferencePipeline.java:193)
> at java.util.Spliterators$ArraySpliterator.tryAdvance(
> Spliterators.java:958)
> at java.util.stream.ReferencePipeline.forEachWithCancel(
> ReferencePipeline.java:126)
> at java.util.stream.AbstractPipeline.copyIntoWithCancel(
> AbstractPipeline.java:529)
> at java.util.stream.AbstractPipeline.copyInto(
> AbstractPipeline.java:516)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(
> AbstractPipeline.java:502)
> at java.util.stream.FindOps$FindOp.evaluateSequential(
> FindOps.java:152)
> at java.util.stream.AbstractPipeline.evaluate(
> AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.findFirst(
> ReferencePipeline.java:464)
> at org.openqa.selenium.remote.ProtocolHandshake.createSession(
> ProtocolHandshake.java:126)
> at org.openqa.selenium.remote.ProtocolHandshake.createSession(
> ProtocolHandshake.java:73)
> at org.openqa.selenium.remote.HttpCommandExecutor.execute(
> HttpCommandExecutor.java:142)
> at org.openqa.selenium.remote.service.DriverCommandExecutor.
> 

[Dev] Selenium version compatibility issues with Firefox

2018-01-22 Thread Asanka Vithanage
Hi All,

I am trying to automate some UI pages with selenium. I am getting version
compatibility issues with Firefox browser and need to figure out working
version combination. Did a bit of search on internet and couldnt find the
exact compatibility matrix.
I am not seeing this kind of issue with the chrome browser, so currently
continuing my work on that.

So appreciate any help on this.



With Firefox Version 51.0.1  Selenium version 3.8.1
geckodriver-v0.19.1-linux64

Getting Below Error :

1516684299189   geckodriver INFOgeckodriver 0.19.1
1516684299195   geckodriver INFOListening on 127.0.0.1:14046
Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 0.773 sec
<<< FAILURE!
init(com.wso2.finance.intergration.tests.testcases.ui.StoreUITestCase)
Time elapsed: 0.696 sec  <<< FAILURE!
org.openqa.selenium.SessionNotCreatedException: Unable to find a matching
set of capabilities
Build info: version: '3.8.1', revision: '6e95a6684b', time:
'2017-12-01T18:33:54.468Z'
System info: host: 'asankav-ThinkPad-T540p', ip: '127.0.0.1', os.name:
'Linux', os.arch: 'amd64', os.version: '4.4.0-62-generic', java.version:
'1.8.0_45'
Driver info: driver.version: FirefoxDriver
remote stacktrace: stack backtrace:
   0:   0x4edb3c - backtrace::backtrace::trace::hc4bd56a2f176de7e
   1:   0x4edb72 -
backtrace::capture::Backtrace::new::he3b2a15d39027c46
   2:   0x4409a1 -
webdriver::error::WebDriverError::new::h81babdd86c977032
   3:   0x441ab6 -
geckodriver::marionette::MarionetteHandler::create_connection::hf0532ddb9e159684
   4:   0x428570 - >::run::h2119c674d7b88193
   5:   0x4029b9 -
std::sys_common::backtrace::__rust_begin_short_backtrace::h21d98a9ff86d4c25
   6:   0x40be65 - std::panicking::try::do_call::h5cff0c9b18cfdbba
   7:   0x5e6a6c - panic_unwind::__rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:99
   8:   0x41eb22 - >::call_box::h413eb1d9d9f1c473
   9:   0x5df13b - alloc::boxed::{{impl}}::call_once<(),()>
at /checkout/src/liballoc/boxed.rs:692
 - std::sys_common::thread::start_thread
at /checkout/src/libstd/sys_common/thread.rs:21
 -
std::sys::imp::thread::{{impl}}::new::thread_start
at /checkout/src/libstd/sys/unix/thread.rs:84
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.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at
org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$120/1906879951.apply(Unknown
Source)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at
org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$122/137225802.apply(Unknown
Source)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at
org.openqa.selenium.remote.ProtocolHandshake$$Lambda$123/1374066265.apply(Unknown
Source)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at
java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529)
at
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at
java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at
java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:219)
at
org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:142)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:120)
at