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
SeLion platform WebElements to be located via appium MobileBy types.
Actual Behavior
SeLion platform WebElements cannot be located by appium MobileBy types.
Steps to Reproduce
The bridge drivers allows findElementBy(By by) override, however limitation still exists on the set of By subclasses that can be passed in. HtmlElementUtils.resolveByType(String locator) cannot be overridden.
SeLion Version
2.0.0-SNAPSHOT
Component
SeLion & SeLion-appium-provider
Expected Behavior
SeLion platform WebElements to be located via appium MobileBy types.
Actual Behavior
SeLion platform WebElements cannot be located by appium MobileBy types.
Steps to Reproduce
The bridge drivers allows
findElementBy(By by)
override, however limitation still exists on the set of By subclasses that can be passed in.HtmlElementUtils.resolveByType(String locator)
cannot be overridden.https://github.com/paypal/SeLion/blob/develop/client/src/main/java/com/paypal/selion/platform/mobile/ios/UIAElement.java#L67
https://github.com/paypal/SeLion/blob/develop/client/src/main/java/com/paypal/selion/platform/mobile/android/UiObject.java#L50
Proposal:
Add
By resolveByType(String locator);
method definition in SeLionAndroidBridgeDriver and SeLionIOSBridgeDriverAppium ios/android providers can resolve MobileBy types in addition to using existing HtmlElementUtils.
Other providers can continue leveraging HtmlElementUtils.
The text was updated successfully, but these errors were encountered: