How does XPath find elements in Selenium?
Steps to find XPath elements in Selenium: Visit the First name tab and right click on Inspect. When you inspect the web element, you can see the input attributes and tag such as id and class. Leverage the id along with the attributes for constructing the XPath to locate the first name field.