-
Notifications
You must be signed in to change notification settings - Fork 68
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
feat(cli): better error message for ChromeDriver version mismatch #680
feat(cli): better error message for ChromeDriver version mismatch #680
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pr! This type of message will help a ton.
Hey @not-my-profile just reaching out to see if you've seen the request changes on the PR. |
63c7d4e
to
d54a370
Compare
d54a370
to
aefecb3
Compare
$ npm install -g chromedriver@<version> | ||
$ axe --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver <url...> | ||
|
||
(where <version> is the first number of the "current browser version" reported above.)`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the first number" is a bit ambiguous. We should be very specific about what we want as browser version 114.0.5735.198
the first number would be 1
which would not be the version of chromedriver we want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're confusing "digit" with "number". I changed your suggestion of "major version" to "first number of the version" since I think there's a good chance that the user isn't familiar with SemVer.
Hey @not-my-profile ! Just missing a test and I think this is good to go |
Thanks for the contribution. Reviewed for security |
Fixes #679.