Hi All,
I want to convert this xpath format to iosclasschain
Xpath:://XCUIElementTypeButton[@name=“Find” or @name=“Home” or @name=“back”][@focused=‘true’] | //XCUIElementTypeStaticText[@name=“switch profile”]
I was able to convert the first half (XCUIElementTypeButton locator) to classchain format…
iOSClassChain::**/XCUIElementTypeButton[name MATCHES "Home|Find|back" AND focused==1]
But am not able to combine the second half (XCUIElementTypeStaticText[@name=“switch profile”])
To the above created ios class chain locator…
Is there any way to combine both XCUIElementTypeButton and XCUIElementTypeStaticText locators as a single iosclasschainlocator like xpath?