selenium get multiple elements 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"));