In this Selenium Webdriver Tutorial we will learn about Relative locator in Selenium Webdriver. Selenium 4 introduced relative locators which were previously called as friendly locators. Relative locator help to locate elements that are nearby to other elements.
Tag: locators in selenium webdriver
Selenium WebDriver Tutorial #12 – What are Locators in Selenium WebDriver
In this Selenium Webdriver Tutorial we will learn about what are Locators in Selenium WebDriver. There are 8 primary locator strategies to identify web elements on any web page. Along with these 8 strategies Selenium 4 brings Relative Locators strategy as well.