Skip to content

Conversation

@OndraM
Copy link
Collaborator

@OndraM OndraM commented Nov 24, 2019

Implements all W3C WebDriver exceptions according to https://w3c.github.io/webdriver/#errors. Those which didn't make it to the new standard are marked as deprecated.Ref. #469

Upgrade notice:
Those deprecated exceptions are already not thrown when using W3C WebDriver mode (default on Chrome etc.). However, if there is equivalent W3C WebDriver exception, the "old one" inherit from the new W3C-compatible one, making it BC compatible. But you can safely replace the old exception with the new one. If the exception is deprecated and does not inherits from a W3C-compatible exception, is was removed from WebDriver protocol and will never be thrown, you should update your code.

Copy link
Member

@andrewnicols andrewnicols left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me.

Have compared the list of errors on the W3C list and all are complet.

@OndraM
Copy link
Collaborator Author

OndraM commented Nov 25, 2019

Failed builds are not related to this PR.

@OndraM OndraM merged commit 574684f into community Nov 25, 2019
@OndraM OndraM deleted the w3c-exceptions branch November 25, 2019 16:32
@OndraM OndraM added this to the 1.8.0 milestone Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants