Find total number of Links on a Webpage using Selenium package SeleniumLearn.Com; import org.testng.annotations.Test; import org.testng.annotations.BeforeTest; import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.AfterTest; Read more about Find total number of Links on a Webpage using Selenium