gridrouter icon indicating copy to clipboard operation
gridrouter copied to clipboard

Session [null] not available and is not among the last 1000 terminated sessions

Open FlexiB opened this issue 7 years ago • 6 comments

Meta -

OS: Ubuntu 12.04

Selenium Version: 3.5.2

Browser: Firefox

Browser Version: Expected Behavior -

I try to execute a test on Firefox with selenograph (contains GridRouter) Actual Behavior -

When I execute a test on Firefox, I have this error "Session [null] not available and is not among the last 1000 terminated sessions".

But it's OK when I execute on Chrome,Chrome Headless or IE. Steps to reproduce -

Create a grid router. Configure your Grid Router with a profil.xml that contains firefox. Execute a test using your Grid Router IP and firefox capabilities.

FlexiB avatar Aug 28 '17 08:08 FlexiB

Looks like you need to update gekodriver version. They made some critical changes regarding compatibility with Selenium > 3.3

https://github.com/mozilla/geckodriver/releases

Please update us if that helps!

innokenty avatar Aug 28 '17 09:08 innokenty

Hi innokenty and thank you for you answer.

I already use geckoDriver-018 x64 For information :

  • I use Firefox 55.0.2 (x64) on a Windows Seven 64

  • when I execute my test the browser opens

FlexiB avatar Aug 28 '17 11:08 FlexiB

Wait, you said OS: Ubuntu 12.04, but now you're saying Windows Seven. It doesn't matter though, just curious.

innokenty avatar Aug 30 '17 10:08 innokenty

Since this release:

https://github.com/mozilla/geckodriver/releases/tag/v0.15.0

There were major protocol changes in geckodriver, that need to be supported in Grid Router. Unfortunately Grid Router is not active maintained any more, there is more effective implementation. Please take a look at these projects:

https://github.com/aerokube/ggr https://github.com/aerokube/selenoid https://github.com/aerokube/selenoid-ui

Also there are related articles: https://hackernoon.com/selenium-testing-a-new-hope-7fa87a501ee9 https://hackernoon.com/selenium-testing-a-new-hope-a00649cdb100 https://medium.com/@aandryashin/selenium-done-in-60-seconds-176796f8bdc7

GoGridRouter supports new geckodriver protocol and can replace java version with minor changes.

2017-08-30 13:43 GMT+03:00 Innokenty Shuvalov [email protected]:

Wait, you said OS: Ubuntu 12.04, but now you're saying Windows Seven. It doesn't matter though, just curious.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seleniumkit/gridrouter/issues/42#issuecomment-325953535, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWNbbW15INHrS_TAQs3oAKO4a-8g8omks5sdTzVgaJpZM4PEOjh .

aandryashin avatar Aug 30 '17 15:08 aandryashin

@innokenty : GridRouter run on Ubuntu 12.04 and my sonde is on Windows Seven 64 ;)

@aandryashin : thanks for your answer. I will check this project

FlexiB avatar Aug 31 '17 12:08 FlexiB

@FlexiB Ggr is just the next version of this one created by the same developers with important improvements.

vania-pooh avatar Aug 31 '17 19:08 vania-pooh