Question: how many types of locators are available in selenium and what are they?
Answer: Selenium supports 8 different types of locators namely id, name, className, tagName, linkText, partialLinkText, CSS selector and xpath.