-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: Now legacy-protocol client is unable to run tests on docker chrome 107 regardless docker selenium's version #1723
Comments
Not related to the error, which we still need to investigate, but please be aware that support for JWP ( json wire protocol (w3c=false)) in Grid is going away soon. |
This is affecting our open source project as well https://gitlab.com/weitzman/drupal-test-traits/-/jobs/3311080540 |
I found using chromedriver directly works. But using the jdk-http-client.jar would produce the error mentioned above, and this jar is used in the grid as well What's the difference between using chrome driver directly and using the selenium-http-jdk-client.jar? As a quick test, I created a test image with the following dockerfile that seems to work with grid test for chrome107. But I am still hoping our current tests can work with official/standard selenium image to buy time to move to w3c compliant test code. RUN sudo sed -i 's#Dwebdriver.http.factory=jdk-http-client#Dwebdriver.chrome.driver=/usr/bin/chromedriver#' /opt/bin/start-selenium-node.sh RUN sudo sed -i 's#--ext ${EXTRA_LIBS}##' /opt/bin/start-selenium-node.sh |
I will close this because the supported version (4.11.0 at the moment) does not support JWP anymore. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
php-webdriver 1.11.1 and 1.13.0 with json wire protocol (w3c=false)
Standalone or grid, docker chrome 107.0 with docker selenium 4.5.3 or 4.6.0 caused tests all fail with error "non-positive contentLength: 0".
Which means our tests currently have to stay with docker chrome 106.0 and unable to move on to docker chrome 107.0.
I am aware the legacy protocl support will be dropped soon, just wondering if it can be postponed a bit more.
phpExample.zip
Command used to start Selenium Grid with Docker
Relevant log output
Operating System
Ubuntu 20.04
Docker Selenium version (tag)
4.6.0-20221104
The text was updated successfully, but these errors were encountered: