seleniumkit / gridrouter

Selenium-based solution to serve 1000+ browsers
Other
152 stars 36 forks source link

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

Open FlexiB opened 7 years ago

FlexiB commented 7 years ago

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.

innokenty commented 7 years ago

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!

FlexiB commented 7 years ago

Hi innokenty and thank you for you answer.

I already use geckoDriver-018 x64 For information :

innokenty commented 7 years ago

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

aandryashin commented 7 years ago

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 notifications@github.com:

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 .

FlexiB commented 7 years ago

@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

vania-pooh commented 7 years ago

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