Selenium Webpage Verifications using Java

This page has all the methods written in java to perform verification on the webpage with selenium webdriver.


How to check If an element Is visible using Selenium WebDriver

WebElement Element  = Driver.FindElement(By.Id("Element-Id"));
If(Element Instanceof RenderedWebElement) {
System.Out.Println("Element Visible");
} Else {
System.Out.Println("Element Not Visible");

How to get all items of a WebList / dropdown using Selenium

How to find broken links on a webpage using Selenium

Checkout the code repo

Subscribe for updates