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

[java] improve warning when CDP version not found #12880

Merged
merged 4 commits into from
Oct 6, 2023
Merged

Conversation

titusfortner
Copy link
Member

@titusfortner titusfortner commented Oct 5, 2023

Description

Adds what action user should take to warning message

Motivation and Context

Resolves #12831
If we are going to log a warning, we should tell users what they need to do to remove the warning.

The alternative is to log this as FINE instead of WARN. I slightly prefer the logging message because weird things *could happen, and updating to a new version of Selenium isn't a bad thing. But it does encourage us to release before Production Chrome is out. 😂

@titusfortner titusfortner modified the milestone: 4.14 Oct 5, 2023
@titusfortner titusfortner changed the title [java] improve warning when CDP version not found [java] improve warning when CDP version not found (#12831) Oct 5, 2023
@titusfortner titusfortner changed the title [java] improve warning when CDP version not found (#12831) [java] improve warning when CDP version not found Oct 5, 2023
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (33c4122) 56.51% compared to head (48bedae) 56.51%.
Report is 1 commits behind head on trunk.

❗ Current head 48bedae differs from pull request most recent head bd6567d. Consider uploading reports for the commit bd6567d to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk   #12880   +/-   ##
=======================================
  Coverage   56.51%   56.51%           
=======================================
  Files          86       86           
  Lines        5255     5255           
  Branches      187      187           
=======================================
  Hits         2970     2970           
  Misses       2098     2098           
  Partials      187      187           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@titusfortner titusfortner merged commit 5ce5acc into trunk Oct 6, 2023
52 of 54 checks passed
@titusfortner titusfortner deleted the cdp_warning branch October 6, 2023 02:53
aguspe pushed a commit to aguspe/selenium that referenced this pull request Oct 22, 2023
* [java] improve warning when CDP version not found

* Update java/src/org/openqa/selenium/devtools/CdpVersionFinder.java

* fix linting issues

---------

Co-authored-by: Diego Molina <[email protected]>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🐛 Bug]: Log is spammed with "Unable to find an exact match for CDP version 117"
3 participants