I have a list of items with checkboxes 1,2...n
I used this code to get the list of the current view and select the items. How could I scroll the list to select the next items in the list and repeat this process until the end ?
List<WebElement> elements = driver.findElements(By.xpath("//android.widget.CheckBox"));
for(WebElement element: elements){
element.click();
}