For me,
The following is not working:
@iOSXCUITFindBy(iOSClassChain = “**/XCUIElementTypeOther[label BEGINSWITH 'ALL'
][-1]”)
private WebElement ALL_tab;
.
.
.
ALL_tab.click();
whereas, this is working:
iDriver.findElement(MobileBy.iOSClassChain("**/XCUIElementTypeOther[label BEGINSWITH 'ALL'
][-1]")).click();
Appium version - 1.11.1
Java Client - 7.0.0
Kindly help.