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.