0
I automating iOS app on windows using Appium studio. When I am using below its working fine, but when I am using pagefactory annotations.
driver.findElement(By.xpath("//*[@class='UIAButton'][2]")).click();
@iOSXCUITFindBy(xpath="//*[@class='UIAButton'][2]")
MobileElement contactButton;
It is not able to find the xpath. how can I make it work ?