Skip to content

[🐛 Bug]: Issue on chrome driver : version ChromeDriver 133.0.6943.53 #15313

@MsingathiM

Description

@MsingathiM

What happened?

Hi guys, not sure if anyone has experienced this issue before, and if it has been opened, apologies for a possible duplicate.
I seem to have been encountering issues with ChromeDriver 133.0.6943.53 this has got me out of options at this point, initially I have seen these problems since version 133 circa December, but never paid much attention to it. I kinda assumed it could be something with the versioning, but it seem to be persisting, and even seeing this on my github actions, the tests using chrome are constantly failing with the below error in the logs

I am running these tests on an [image ubuntu-20.04] against JDK11. Anyone got suggestions or something I'm missing, here's the step I'm running it on from my yml file

How can we reproduce the issue?

I used this step on my yml file to execute this test 
`selenium-test:
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Set up JDK 11
        uses: actions/setup-java@v4
        with:
          java-version: '11'
          distribution: 'adopt'
          cache: 'maven'

      - name: Setup Chrome and ChromeDriver
        uses: browser-actions/setup-chrome@latest
        with:
          chrome-version: stable

      - name: Install dependencies
        run: |
          sudo apt-get update
          sudo apt-get install -y libnss3

      - name: Display Chrome and ChromeDriver versions
        run: |
          google-chrome --version
          chromedriver --version

      - name: Set ChromeDriver Path
        run: echo "CHROMEDRIVER_PATH=$(which chromedriver)" >> $GITHUB_ENV

      - name: Run UI Tests
        run: |
          mvn clean install -DskipTests
          mvn test -Dtest=ClassName -Dsurefire.failIfNoSpecifiedTests=false
        
      - name: Upload UI Test Results
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: ui-test-reports
          path: |
            target/surefire-reports/
            target/chromedriver.log
`

Relevant log output

`org.openqa.selenium.remote.http.ConnectionFailedException: 
Unable to establish websocket connection to http://localhost:43361/devtools/browser/25c78696-adfb-40bd-8ebf-60f9783a1062
Build info: version: '4.1.0', revision: '87802e897b'
System info: host: 'fv-az652-888', ip: '10.1.0.19', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-1078-azure', java.version: '11.0.26'
Driver info: driver.version: ChromeDriver
	at org.openqa.selenium.remote.http.netty.NettyWebSocket.<init>(NettyWebSocket.java:104)
	at org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:137)
	at org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:116)
	at org.openqa.selenium.devtools.Connection.<init>(Connection.java:77)
	at org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:124)
	at java.base/java.util.Optional.map(Optional.java:265)
	at org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:122)
	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:104)
	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:91)
	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:80)
	at com.assessment.automation.WebAutomation.setUp(WebAutomation.java:35)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

[INFO] 
[INFO] Results:
[INFO] 
Error:  Errors: 
Error:    ClassName.setUp:35 » ConnectionFailed Unable to establish websocket connection to http://localhost:43361/devtools/browser/25c78696-adfb-40bd-8ebf-60f9783a1062`

Operating System

Ubuntu 20.04

Selenium version

Java 11, Selenium 4.1.0

What are the browser(s) and version(s) where you see this issue?

Chrome 133.0.6943.53

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 133.0.6943.53

Are you using Selenium Grid?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-defectSomething is not working as intendedJ-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions