There are mainly 5 locators used with Selenium –
1. html id
2. html name
3. XPath locator
4. Css locators
5. DOM
6. LinkText
7. PartialLinkText
8. Tagname
9. Classname
A blog on Selenium WebDriver, Java, VB Script, Software Testing, SOAPUI, Groovy, SOA Testing, Mobile Testing, Appium etc.