Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Bug]: There seems to be some confusion in the ChromiumDriver when checking the CDP version. #12406

Closed
666asd opened this issue Jul 24, 2023 · 3 comments

Comments

@666asd
Copy link

666asd commented Jul 24, 2023

What happened?

In the ChromiumDriver.java file of Selenium, the check for the CDP version is performed using the originalCapabilities, while the logging statement utilizes the capabilities.

How can we reproduce the issue?

I'm unsure about the intended usage of either originalCapabilities or capabilities in this specific context of checking the CDP version in ChromiumDriver. However, if you wish to specify the version of selenium-devtools by specifying the BrowserVersion in capabilities, you may achieve that.

Relevant log output

七月 24, 2023 4:20:06 下午 org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
警告: Unable to find CDP implementation matching 115
七月 24, 2023 4:20:07 下午 org.openqa.selenium.chromium.ChromiumDriver lambda$new$3
警告: Unable to find version of CDP to use for 110. 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.8.1` where 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.

Operating System

all

Selenium version

java

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

all

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

all

Are you using Selenium Grid?

No response

@github-actions
Copy link

@666asd, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

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 answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Jul 24, 2023

The content is the same for the code purpose. I made an update to use the same variable.

@diemol diemol closed this as completed in bc3b548 Jul 24, 2023
Copy link

github-actions bot commented Dec 9, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants