-
Notifications
You must be signed in to change notification settings - Fork 329
Send host and port in Host header #1193
Comments
@vania-pooh You may want to look at this at some point, now that geckodriver 0.31.0 was released |
@ruescar will it work with e.g. Chromedriver? Currently we set just |
@vania-pooh If you could provide some build with the change I can test it against all browsers and channels. |
@ruescar checked this should work against Chrome:
|
Thanks for the update @vania-pooh although I guess the main parts to test would be when using Selenoid grid (which uses random port for each browser container) or when running selenoid-container-tests where the Host header would need to be set in Selenium request via proxy...? |
@ruescar we will obviously set the same |
Using host and port in Host header in container mode (related to #1193)
Seems to work. Already available in |
@vania-pooh aerokube/selenoid:latest exits on startup: |
@ruescar yes, fixed. |
@vania-pooh I've built an image with Firefox 101.0.1+build1-0ubuntu0.20.04.1 and geckodriver 0.31.0 and used with aerokube/selenoid:latest, but when run some test, the Selenium session still fails. Here are the logs:
|
@ruescar added one more change to make this work with drivers too. |
@vania-pooh Unfortunately I'm still getting the same error after the change. |
@ruescar will test myself and get back. |
@ruescar built Selenoid binary from latest source code. Checked with Firefox 102.0 and geckodriver 0.31.0. It works. |
@ruescar please check one more and if it works, we will release. |
@vania-pooh Still not working for me when running selenoid-container-tests on a Mac against a local grid using aerokube/selenoid:latest and an image built with Firefox
In other tests run in Linux machine, I get more verbose Selenoid logs:
|
@ruescar I think you just need to put to your image not Selenoid 1.10.7 but a binary compiled from latest source code. Once we release 1.10.8 - we'll be building new images using this version. |
@vania-pooh I did as you suggested and everything seems to work, including selenoid-container-tests. |
See mozilla/geckodriver#1935.
The text was updated successfully, but these errors were encountered: