Podcast
Questions and Answers
Which locator specifies the exact location of an element from the root of the document?
Which locator specifies the exact location of an element from the root of the document?
- CSS Selectors
- TagName
- Relative XPath
- Absolute XPath (correct)
Which locator specifies the location of an element relative to its parent or ancestor elements?
Which locator specifies the location of an element relative to its parent or ancestor elements?
- Link Text and Partial Link Text
- TagName
- Absolute XPath
- Relative XPath (correct)
Which locator uses CSS syntax to select elements?
Which locator uses CSS syntax to select elements?
- ClassName
- CSS Selectors (correct)
- Name
- Absolute XPath
Which locator is used for locating hyperlinks on a webpage?
Which locator is used for locating hyperlinks on a webpage?
Which locator finds elements based on their HTML tag name?
Which locator finds elements based on their HTML tag name?
Flashcards are hidden until you start studying