A locator is a way to identify elements on a page. It is the argument passed to the Finding element methods. Check out our encouraged test practices for tips on locators, including which to use when and why to declare locators separately from the finding methods. Traditional Locators Selenium provides support for these 8 traditional location strategies in WebDriver: Locator Description class name Locates elements whose class name contains the search value (compound class names are not permitt...