You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: