1 Answers
Types of locators available in Selenium IDE:
There are several types of locators that can be used in Selenium IDE to identify elements on a web page:
- 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 the visible text of the link.
- Partial Link Text: Locates anchor elements based on a partial match of the visible text.
- CSS Selector: Locates elements based on CSS selectors.
- XPath: Locates elements based on XPath expressions.
These locators can be combined and used in different strategies to accurately identify and interact with elements on a web page during test automation using Selenium IDE.
Please login or Register to submit your answer