Tuesday, May 8, 2012

Selenium Element Locator Examples

An element Locator tells Selenium which HTML element a command refers to. The format of a locator is:

locatorType=argument

Below are some of the awesome links to help you understand Selenium element locator in a better way:

1. Selenium Tutorial : Locators [Link]

2. Locating page elements using WebDriver [Link]

3. How to locate elements in Selenium IDE? [Link]

4. A Quick Introduction to CSS Locators in Selenium [Link]

5. Selenium Element Locators [Link]

6. Selenium Tips: Start improving your locators [Link]

7. Selenium Tips: CSS Selectors in Selenium Demystified [Link]

8. Selenium: Is it possible to use the regexp in selenium locators [Link]

9. How to use regex in selenium locators [Link]

10. Selenium IDE with an XPath Locator [Link]

11. When to use which element locator, element locator use in selenium Xpath,CSS, DOM [Link]