admin管理员组

文章数量:1410725

I have an issue running my Selenium tests on ChromeVersion 134.0.6998.45 (Build officiel) (x86_64) while using the latest Selenium version .seleniumhq.selenium:selenium-java:4.29.0.

On my test report I have this error : .openqa.selenium.devtools.CdpVersionFinder findNearestMatch WARNING: Unable to find an exact match for CDP version 134, returning the closest version; found: 131; Please update to a Selenium version that supports CDP version 134

My libs versions :

[versions]
cucumber="7.21.1"

[libraries]



commons-io = "commons-io:commons-io:2.18.0"
testng = ".testng:testng:7.11.0"
selenium = ".seleniumhq.selenium:selenium-java:4.29.0"

cucumber-java = { group="io.cucumber", name="cucumber-java", version.ref="cucumber"}
cucumber-testng = { group="io.cucumber", name="cucumber-testng", version.ref="cucumber"}
cucumber-picocontainer  = { group="io.cucumber", name="cucumber-picocontainer", version.ref="cucumber"}

[bundles]
cucumber=["cucumber-java", "cucumber-testng", "cucumber-picocontainer"]

I tried to downgrade Chrome version on MacBook Pro 2019 but I'm new to IOS and wasn't able to.

I have an issue running my Selenium tests on ChromeVersion 134.0.6998.45 (Build officiel) (x86_64) while using the latest Selenium version .seleniumhq.selenium:selenium-java:4.29.0.

On my test report I have this error : .openqa.selenium.devtools.CdpVersionFinder findNearestMatch WARNING: Unable to find an exact match for CDP version 134, returning the closest version; found: 131; Please update to a Selenium version that supports CDP version 134

My libs versions :

[versions]
cucumber="7.21.1"

[libraries]



commons-io = "commons-io:commons-io:2.18.0"
testng = ".testng:testng:7.11.0"
selenium = ".seleniumhq.selenium:selenium-java:4.29.0"

cucumber-java = { group="io.cucumber", name="cucumber-java", version.ref="cucumber"}
cucumber-testng = { group="io.cucumber", name="cucumber-testng", version.ref="cucumber"}
cucumber-picocontainer  = { group="io.cucumber", name="cucumber-picocontainer", version.ref="cucumber"}

[bundles]
cucumber=["cucumber-java", "cucumber-testng", "cucumber-picocontainer"]

I tried to downgrade Chrome version on MacBook Pro 2019 but I'm new to IOS and wasn't able to.

Share Improve this question asked Mar 11 at 11:01 wiem mejriwiem mejri 11 silver badge2 bronze badges 2
  • it's just a warning, so you can safely ignore it.... especially if you don't use cdp. These come with Selenium itself, (selenium-devtools-v...) so upgrading Selenium would make that warning disappear for a bit. – browsermator Commented Mar 11 at 21:27
  • Yes it's just a warning as you said my tests were blocked by an another issue. Thanks. – wiem mejri Commented Mar 14 at 9:09
Add a comment  | 

1 Answer 1

Reset to default 0

Do the following:

  1. Make sure you have the latest chrome browser installed on your machine

  2. Make sure you have the latest Selenium Support and WebDriver referenced in your project

  3. Do not add any chromedriver options arguments or specify driver versions - keep everything simple and at its default

  4. Run your tests and they should work as Selenium Manager is built in which handles the latest browser driver download automatically

本文标签: testingPlease update to a Selenium version that supports CDP version 134Stack Overflow