Is there such annotation that would allow to find elements by accessibility ID without having both @AndroidFindBy
and @iOSFindBy
annotations at the same time ?
Currently I have a page object which is annotated as follows:
@AndroidFindBy(accessibility = "Accept")
@iOSFindBy(accessibility = "Accept")
private MobileElement acceptButton;
What I’m looking for is something like:
@MobileFindBy(accessibility = "Accept")
private MobileElement acceptButton;
Thank you!