Addition to #545 by SrinivasanTarget · Pull Request #546 · appium/java-client
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saikrishna321 I can't get...
It is designed the same way as java @AndroidFindBy/java @SelendroidFindBy. It was designed this way because it is possible that old automation for iOS <= 9.3 and the new automation should be supported by one test scope.
The algorithm:
@iOSFindBy @iOSXCUITFindBy
if you run new mode then
is used. If you use legacy mode then
is used instead.
is used by both modes.
is used by the new mode. If you launch legacy mode then page object tools create
The same works for Android/Selendroid.
So what the concern?