-
- Notifications
You must be signed in to change notification settings - Fork 768
Closed
Description
I would like to create TypifiedMobileElement and I was extends from io.appium.java_client.MobileElement :
public class MobileElement extends io.appium.java_client.MobileElement { }
and then I had compilation exception:
Error:(32, 8) java: findElements(org.openqa.selenium.By) in io.appium.java_client.MobileElement cannot implement findElements(org.openqa.selenium.By) in org.openqa.selenium.WebElement return type java.util.List<io.appium.java_client.MobileElement> is not compatible with java.util.List<org.openqa.selenium.WebElement>
java client: 4.0
Can we extends from MobileElement?
Thanks for the answer