-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
added new exception, changing isElementClickable to return a more spe… #1967
added new exception, changing isElementClickable to return a more spe… #1967
Conversation
This is for issue #1704 |
Opened a spec bug to support this new error code: https://www.w3.org/Bugs/Public/show_bug.cgi?id=29585 |
d9f96ea
to
693136d
Compare
…tored in the last year, changing so that there isnt random java code in here and added INTERCEPTING_ELEMENT_ERROR to the knownerror stuff
package org.openqa.selenium; | ||
|
||
/** | ||
* Created by James Reed on 11/04/2016. |
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.
We keep who wrote the code anonymous.
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.
Oops, sorry. Auto comment generation :(
@@ -74,6 +75,7 @@ | |||
public static final int ELEMENT_NOT_VISIBLE = 11; | |||
public static final int INVALID_ELEMENT_STATE = 12; | |||
public static final int UNHANDLED_ERROR = 13; | |||
public static final int INTERCEPTING_ELEMENT_ERROR = 14; |
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.
Is this just a random number? Can't remember if we have this defined elsewhere.
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.
I honestly cannot remember any particular reason for 14. I think it may have just been a gap in the existing numbers and I went for it. I can change it to something else if wanted.
Superceded by bd9d415 |
X
in the preceding checkbox, I verify that I have signed the Contributor License Agreement…cific error