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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃殌 Feature]: Expand Error Messages #1276

Open
titusfortner opened this issue Jan 4, 2023 · 1 comment
Open

[馃殌 Feature]: Expand Error Messages #1276

titusfortner opened this issue Jan 4, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@titusfortner
Copy link
Member

Feature and motivation

We have a new Errors Page, but it only describes 3 errors, while there are 28 possible errors from WebDriver.

Each error should at least include the w3c description, and additional information provided in the spec.

e.g. insecure certificate has:

Navigation caused the user agent to hit a certificate warning, which is usually the result of an expired or invalid TLS certificate.

and then later in the spec it is referenced with:

If the current session鈥檚 secure TLS state is disabled, take implementation specific steps to ensure the navigation is not aborted and that the untrusted- or invalid TLS certificate error that would normally occur under these circumstances, are suppressed.

Otherwise return error with error code insecure certificate

If we provide this information in our documentation we can replace any descriptions in the error messages of each bindings with a link to the documentation.

Ideally we can also describe various causes of the errors and what someone should do if they get that error, but we can incrementally add to this page.

@alaahong
Copy link
Member

alaahong commented Jan 14, 2023

Two following questions here,

  1. Do we have the possible to highlight specific errors scenarios?
    I was tried to figure out them [exception sample], but still miss some exceptions root cause, which means no idea to assert them in sample code.
  2. As there were some exceptions changed in 2022 release, will the error page highlight exception with Selenium version?
    e.g. ElementNotVisibleException, ImeActivationFailedException should be removed in previous versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants