ListlistItems = driver.findElements("find your select by id or xpath or etc"); Actions builder = new Actions(driver); builder.clickAndHold(listItems.get(1)).clickAndHold(listItems.get(2)).click(); Action selectMultiple = builder.build(); selectMultiple.perform();
No comments:
Post a Comment