Selenium WebDriver - VishalPatangay/TestAutomationRepo GitHub Wiki
How to identify Elements
Selenium identifies elements on web pages by locator. some of the types are
- ID,
- Name,
- Link Test,
- CSS Selector(
-
- Tag and ID,
-
- Tag and Class,
-
- Tag and Attribute
-
- Inner Text)
- DOM
- getElementByID
- getELementsByName
- dom:name
- dom:index
- XPATH
We use firebug to inspect the elements on the webpage and use for our test