Skip to content

Bug: Selenium tests occasionally fails when using ChromeDriver versions > 128. #16331

@Tomas-H

Description

@Tomas-H

Description

All Chrome and Chromium versions above 128 are currently unstable with Selenium due to issues with ChromeDriver.

The original bug is reported here: Chromium Issue 402796660
and is still unresolved.

The root cause is ChromeDriver — it sometimes fails to perform as expected, making Selenium unusable with newer Chrome/Chromium versions. (Tests work on the latest browsers with Playwright, cause there is no need for ChromeDriver)

I was not able to isolate this issue into a small, reproducible code snippet — it only occurs on real servers.

Therefore, I’ve created this repository with a real test so you can see exactly what’s happening.

https://github.com/Tomas-H/chromedriver-bug/tree/main

We want to continue automating tests with Selenium, but testing on the latest browsers is not possible at the moment.

In my opinion, this bug is clearly a ChromeDriver issue, but it has a major impact on Selenium, making it effectively unusable.

Please let me know if you need any more information — I’ll do my best to provide it.

Regards,
Tomas H.

Reproducible Code

Everything is described in the README.

We’ve tried this multiple times, and only once did the tests pass with the new Chrome version — but they failed again on the second run.

https://github.com/Tomas-H/chromedriver-bug/tree/main 

The main problem is happening here https://github.com/Tomas-H/chromedriver-bug/blob/main/test_browser_correctly_navigates.py#L78

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-pyPython BindingsD-chromeG-chromedriverRequires fixes in ChromeDriverI-defectSomething is not working as intendedI-regressionSomething was working but we "fixed" it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions