So with the new xcode update apple has revamped the way we do UI testing. In instruments we used java script function \"isVisible\" to determine if our targeted element is visib
you can do something like this:
extension XCUIElement { internal func scrollToElement(element: XCUIElement) { while !element.exists { swipeDown() } } }
and than use scrollToElement to find element