Note that I have considered the idea of using an xpath but the issue remains if there is multiple xpaths of the same type within a directory. For example, if there are 2 XCUIElementTypeStaticText elements within a window, I can’t generalize to just this because it may click the wrong one and I don’t know which name, apple or banana, to pass in as a name value to be more specific.