Scrolling an element into view with iOS native app

WePython 1 Months+

I am using Appium + Selenium + Java.

I am testing a native app and I sometimes need to scroll an element into view in order to click on it. It seems like, when testing a web app on iOS, you can use this to scroll. However, I am testing a native app and this doesn't seem to work.

I tested this solution with:

RemoteWebElement parent = (RemoteWebElement)driver.findElement(By.className("XCUIElementTypeTable")); //identifying the parent Table
String parentID = parent.getId();
HashMap

Previous : Metrics that should be included in a software quality report
Next : Path is wrong while running a job created for GitHub repository using webhook