how to handle multiple elements in selenium webdriver code example
Example: selenium find multiple elements
// returns an array of elements
let allTextBoxes = driver.findElements(By.css("input"));
// returns an array of elements
let allTextBoxes = driver.findElements(By.css("input"));