1 Answers
Types of Locators Supported by Selenium IDE
Selenium IDE supports various types of locators that are used to identify elements on a web page. The different types of locators supported by Selenium IDE are:
- ID: Locates elements based on their unique ID attribute.
- Name: Locates elements based on their name attribute.
- Class Name: Locates elements based on their class attribute.
- Tag Name: Locates elements based on their HTML tag name.
- Link Text: Locates anchor elements based on their visible text.
- Partial Link Text: Locates anchor elements based on a partial match of their visible text.
- CSS Selector: Locates elements using CSS selectors.
- XPath: Locates elements using XPath queries.
By using these locators effectively, testers can create robust and reliable test scripts in Selenium IDE.
Please login or Register to submit your answer