HCLTech interview question

Q: Explain how you would locate a web element using Selenium.