selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Throw specific exception if element is not clickable

Open ghost opened this issue 10 years ago • 3 comments

The exception introduced with #1202 that is thrown when an element is not clickable unfortunately is a WebDriverException. It would be great if it could be a subtype of WebDriverException (or e.g. even a subtype of InvalidElementStateException. In cases where you want to handle those errors you don't want to catch all WebDriverExceptions.

ghost avatar Feb 26 '16 13:02 ghost

good point, i agree

oceanchow avatar Feb 29 '16 08:02 oceanchow

Closed in bd9d415b3f91b6f6cec29e155e875ccbae289c9f

shs96c avatar Sep 05 '17 10:09 shs96c

Note that ElementNotInteractableException is a subclass of InvalidElementStateException

barancev avatar Sep 05 '17 10:09 barancev