Selenium 4 – RelativeLocators
In our previous post, we have seen the features / enhancements to selenium 4, among them Relative locators is one. Relative locator helps to locate element[s] that are nearby other elements. RelativeLocator class exposes a method withTagName(String elementTagName) and locators as above – Returns the WebElement, which appears above to the specified element below – Returns…