How to use Java Collections, Lambda Expressions & Streams in Selenium Automation

Example1: /1) Find Number of Links in Page 2) Print Link Texts from all the links 3) Check how many links does not have href attribute(broken links) import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import io.github.bonigarcia.wdm.WebDriverManager; public…