java selenium multiple items with same class name 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"));