selenium: ChromeWARNING: Unable to find an exact match for CDP version 122, returning the closest version; found: 120; Please update to a Selenium version that supports CDP version 122[🐛 Bug]:

What happened?

WARNING: Unable to find an exact match for CDP version 122, returning the closest version; found: 120; Please update to a Selenium version that supports CDP version 122

How can we reproduce the issue?

We can update the chrome browser with latest updated version and tries to execute a selenium script, you will be able to find out this issue

Relevant log output

40:25 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 123, returning the closest version; found: 120; Please update to a Selenium version that supports CDP version 123
Exception in thread "main" org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should have been "select" but was "input"
Build info: version: '4.16.1', revision: '9b4c83354e'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2'
Driver info: driver.version: unknown

Operating System

Windows 10 64 bit OS

Selenium version

On most latest

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

Chrome browser and version was 123.0.6312.59

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

123.0.6312.59 (Chrome driver)

Are you using Selenium Grid?

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (4 by maintainers)

Most upvoted comments

This is high priority issue and needs to be resolved asap

Selenium 4.19 has been released with support for Chrome 123.

Team,

For now you can use Selenium 3.14.59 version until that issue is resolved.

On Fri, 22 Mar 2024, 8:39 am bsamett, @.***> wrote:

Hello @diemol https://github.com/diemol . I have the same problem. My tests are working in my Eclipse but i get warning about the version mismatch. Should i worried about it for the future test cases? Thank you!

— Reply to this email directly, view it on GitHub https://github.com/SeleniumHQ/selenium/issues/13716#issuecomment-2014267585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCIBKGNNTTJ3CMZWCKCW7LYZOOGHAVCNFSM6AAAAABE7Z7UR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUGI3DONJYGU . You are receiving this because you were mentioned.Message ID: @.***>

This is a WARNING, not an ERROR, which does not block you from running your automation scripts. We will release Selenium 4.19 in a week or less, and the warning will disappear.