What types of Web Element locators do you know?
Selenium supports 8 different types of locators namely id, name, className, tagName, linkText, partialLinkText, CSS selector and xpath.
Using id is one of the most reliable and fast methods of element recognition. ...
CSS selector and XPath can identify dynamic elements on a web page.