I have a of 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();
        }



Source link https://sqa.stackexchange.com/questions/35159/-and--all-items-in-a-list-in-

LEAVE A REPLY

Please enter your comment!
Please enter your name here