selenium: [🐛 Bug]: Unable to find an exact match for CDP version 130, returning the closest version; found: 129; Please update to a Selenium version that supports CDP version 130
What happened?
This Warning appear:
Oct 21, 2024 10:55:20 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch WARNING: Unable to find an exact match for CDP version 130, returning the closest version; found: 129; Please update to a Selenium version that supports CDP version 130
please not i have the latest versions for all dependencies
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.25.0</version>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.9.2</version>
</dependency>
Because of that and after this warning started appearing, I have errors while running the test case, it no longer waits for the Iframe to finish fully loading.
How can we reproduce the issue?
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.25.0</version>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.9.2</version>
</dependency>
Relevant log output
Oct 21, 2024 10:55:20 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 130, returning the closest version; found: 129; Please update to a Selenium version that supports CDP version 130
Operating System
Windows 10
Selenium version
4.25.0
What are the browser(s) and version(s) where you see this issue?
Chorme (Latest Version: 130.0.6723.59)
What are the browser driver(s) and version(s) where you see this issue?
webdrivermanager - 5.9.2 (chromedriver - 130.0.6723.58)
Are you using Selenium Grid?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 6
- Comments: 40 (4 by maintainers)
Selenium 4.26.0 has been released.
We try to release every month, but sometimes things get in the way. Most of us do this in our free time as volunteers.
If you want to be part of the team and help ensure monthly releases, come talk to us: https://www.selenium.dev/support/#ChatRoom
Exactly what @anilreddy says.
It is a WARNING that does not stop you from using Chrome 130.
We will release a new version of Selenium next week.
The problem is not only the warning, but some of the written commands are now working illogically, and some pages and frames are now being dealt with without waiting for them to load. Something has changed. I have test cases that have been working properly for more than a year, now after this warning they are broken and not working. We are waiting for the problem to be solved, either by a new version of selenium, or for the issue to be fixed by the browsers.
I have almost the same specs and versions as the author but with Windows 11 instead of Windows 10 with the same error:
[10/21/2024 21:54:57] WARN : org.openqa.selenium.devtools.CdpVersionFinder : Unable to find an exact match for CDP version 130, returning the closest version; found: 129; Please update to a Selenium version that supports CDP version 130
Later I found out the root of my problem was because I had the following in my build.gradle making me feel stupid:
I updated details.useVersion(‘4.25.0’) to details.useVersion(‘4.27.0’) and all is well and warning is gone.
@alibdaer, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
<div>Triage this issue by using labels.
If information is missing, add a helpful comment and then
I-issue-templatelabel.If the issue is a question, add the
I-questionlabel.If the issue is valid but there is no time to troubleshoot it, consider adding the
help wantedlabel.If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable
G-*label, and it will provide the correct link and auto-close the issue.After troubleshooting the issue, please add the
R-awaiting answerlabel.Thank you!
</div>I need help, using IntelliJ.
Nov 27, 2024 10:23:14 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch WARNING: Unable to find CDP implementation matching 131 Nov 27, 2024 10:23:14 PM org.openqa.selenium.chromium.ChromiumDriver lambda$new$5 WARNING: Unable to find version of CDP to use for 131.0.6778.86. You may need to include a dependency on a specific version of the CDP using something similar to
org.seleniumhq.selenium:selenium-devtools-v86:4.21.0where the version (“v86”) matches the version of the chromium-based browser you’re using and the version number of the artifact is the same as Selenium’s.Чтобы избавиться от проблемы, укажите в pom.xml версию Selenium 4.27.0
I confirm this issue is occurring.
It looks like there was an update to Chrome Dev Tools and now we need to wait for Selenium to release an update that supports this version.
Sorry to say but they will close the bug simply check after some days
@
@alibdaer your bug will not be accepted anywhere if you don’t provide reproducible code or logs where the issue happens. How can any one knows where the bug is actually happening.
Regarding chrome V130 all my scripts are working as expected. I didn’t observe any issues as you posted like identifying elements or switching to iframes.
Once posting a bug please check if you are writing proper code which has explicit waits before doing element interactions incase of please waits or there is a loading.
Here is the temporary solution, until Selenium supports version 130, delete Google Chrome completely and reinstall the older version which is 129, this way the problem will be solved temporarily
You can download Chrome V129 from this link: https://www.filepuma.com/download/google_chrome_64bit_129.0.6668.101-41911/
Guys the warning is not bug or anything it will go when new version of selenium is released. You are seeing this warning because current selenium version only supports V129 not V130.
Same issue here:
Oct 21, 2024 11:32:23 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch WARNING: Unable to find an exact match for CDP version 130, returning the closest version; found: 129; Please update to a Selenium version that supports CDP version 130