Capgemini interview question

Find elements on page using index in case if there are multiple elements with single selector

Interview Answer

Anonymous

Jun 5, 2019

WebElement element = driver.findElements(By.tagName("")).get(index);