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

Restore missing error class and limit error class lookup scope - Fixes Issue 6122 #6137

Merged
merged 1 commit into from Jul 30, 2018

Conversation

twalpole
Copy link
Contributor

This restores the ::Selenium::WebDriver::Error::TimeoutError class which appears to have been accidentally removed in ee29dab#diff-1828458d7e816f8e53b81cf1952df377 . This caused the error lookup code to incorrectly return the class ::TimeoutError. The error lookup code has also been updated to only look for error classes in the ::Selenium::WebDriver::Error namespace.

Copy link
Contributor

@luke-hill luke-hill left a comment

Choose a reason for hiding this comment

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

Cool stuff, looked at how the , false extra arg works. Probably should be using this a lot more given we're meta-programming in these error codes

@lmtierney lmtierney merged commit 59f93ef into SeleniumHQ:master Jul 30, 2018
@lmtierney
Copy link
Member

Thank you!

grigaman pushed a commit to grigaman/selenium that referenced this pull request Sep 20, 2018
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.

None yet

4 participants