-
-
Notifications
You must be signed in to change notification settings - Fork 767
Closed
Description
I noticed in a presentation yesterday that they almost always casted to MobileElement. As MobileElement appears to be a sub-class of WebElement, you can modified the return type of findElement* to return MobileElement.
This would be backwards compatible.
If we want to get technical, we are dealing with covarient return types:
Metadata
Metadata
Assignees
Labels
No labels