
locators
Locators are tools used to identify and find specific elements on a webpage or application. Think of them as addresses or instructions that tell a program exactly where to look for buttons, links, or sections, so it can interact with them automatically. They utilize details like tags, IDs, class names, or text content to pinpoint these elements accurately. In automation or testing, locators ensure that actions are performed on the correct parts of a webpage, making processes reliable and efficient.