Need help... So far we have been using XCUITest for our automation. We recently started with Appium Ruby and would like to use class_chain locator type strategy but we are having some trouble with it. Here is a the sample tree of our login screen

In XCTest to get the Password text field we use table.cells.containing(.staticText, identifier:"Password").children(matching: .secureTextField).element
Is there a better/shorter way to find the password field using class_chain ?
find_elements(:class_chain, 'XCUIElementTypeWindow/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeTable/XCUIElementTypeCell[3]/XCUIElementTypeStaticText')[0]
Need help... So far we have been using XCUITest for our automation. We recently started with Appium Ruby and would like to use class_chain locator type strategy but we are having some trouble with it. Here is a the sample tree of our login screen

In XCTest to get the Password text field we use
table.cells.containing(.staticText, identifier:"Password").children(matching: .secureTextField).elementIs there a better/shorter way to find the password field using class_chain ?
find_elements(:class_chain, 'XCUIElementTypeWindow/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeTable/XCUIElementTypeCell[3]/XCUIElementTypeStaticText')[0]