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
Activity
TikhomirovSergey commentedon Jul 5, 2016
@HlebHalkouski This issue has been fixed.
FIX: #413
Related issues: #362, #220, #323
Please wait for a the new release
HlebHalkouski commentedon Jul 5, 2016
@TikhomirovSergey thank you for fast answer!
Maybe close this issue?
tfcardoso commentedon Apr 12, 2018
@SrinivasanTarget @TikhomirovSergey
In order to try and extend MobileElement I already tried to set "Eclipse compiler" in IDEA and edited by pom.xml as suggested in here (#220 (comment))
But still I'm getting errors for return types being incompatible. Can you help me on how to proceed?
Thanks