Home › Software Testing › Software Testing › tools_automation_cicd › Which is NOT a Selenium WebDriver locator strate…
Which is NOT a Selenium WebDriver locator strategy?
ABy ID of an element on page
BBy CSS selector for matching
CBy XPath expression for nodes
DBy RGB colour value of pixel
Answer & Solution
Correct answer: D. By RGB colour value of pixel
WebDriver locators: id, name, className, tagName, linkText, partialLinkText, cssSelector, xpath. Locating by pixel colour is NOT a WebDriver mechanism (it would require image processing, e.g., Sikuli).
Related questions
In Scrum, the 'Definition of Done' (DoD) typically includesTest pyramid (Mike Cohn) advocates forA 'flaky test' is a test thatBehaviour-driven development (BDD) tools commonly usePerformance testing in general is BROADER than load testing because it includesAccessibility testing primarily ensures thatPenetration testing is a form ofMutation testing measures the effectiveness of