New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting Geckodriver fails #25
Comments
@APshenkin from the log file that's not clear why it's not working. Will experiment tomorrow. |
According geckodriver options, you have to use command like this:
|
@aandryashin thanks for help! Now I'm able to launch firefox. But there is other issue: Here is several examples: Get elements requests:
Selenoid response for Firefox (for chrome is the same as for selenium, because chromedriver uses Selenium protocol): Because of this issue it's hard to start using Selenoid. We have to do the same work that before did for us selenium( |
The main goal of Selenoid is to provide container isolation for browsers, and it is possible to use it with official Selenium images from Docker hub. To run Firefox please try selenium/standalone-firefox image. Ability to run driver binary as a process was implemented only for Internet Explorer. |
@APshenkin our tests show that even with Java inside container starts 3-5 seconds. What you get instead is well-known browser and operating system state. |
@aandryashin @vania-pooh Thanks for information I have got to work my test framefork with latest selenoid firefox image. But it's contains 0.14 geckodriver. With 0.15 we will face the problem, because the session id on init is now places to value in response body, ex:
Looks like it's easy to fix, just check value.sessionId if sessionId is empty or undefined https://github.com/aandryashin/selenoid/blob/master/selenoid.go#L135 I'm newbie in Go lang, so if you can add this check in selenoid, it would be very nice |
Also when I try to use selenium/standalone-firefox, git this error:
|
@APshenkin btw, the issue with changed Geckodriver protocol was fixed in aandryashin@34db1a4. |
Hmm, not sure about this. here are logs:
Yes, I understand that main goal of Selenoid is to provide container isolation for browsers, but looks like there is no matter is this case using docker image or binary |
Sorry, my fault :( I didn't update Selenoid. Now it's working. Will send PR to update geckodriver in docker image https://github.com/selenoidhq/docker-selenoid/pull/2 |
@APshenkin ok. Btw, Selenoid containers will move soon to another organization. |
@APshenkin btw, just built |
@aandryashin: according to Geckodriver release notes starting from version 0.15.0 they're following W3C Webdriver spec. Selenium 3.3.1 already fixed this. Need to do the same stuff in Selenoid. |
I have fixed it in 34db1a4 but it's related only for Selenoid not for ggr. |
@APshenkin did the fix above help? You can try it with |
@vania-pooh Yes, everything works great! |
browserconfig:
BTW Chrome works great
The text was updated successfully, but these errors were encountered: