Unable to detect textfield with placeholder text on Appium 1.20.x and iOS13+

locator = (MobileBy.ACCESSIBILITY_ID, ‘Enter your email address’)

as I understand, ACCESSIBILITY_ID is used when it is detected and shown in Appium Desktop. Otherwise, the element isnt found.

I think you can try to use -ios classchain or className

List textfield_elements = driver.findElements(MobileBy.className(“XCUIElementTypeTextField”));