strategy

Selenium Automation Element Identification Options

Selenium Automation Element Identification Options

Locating by Identifier:  A generic catch-all approach for when no recognized locator type is used. With this strategy, the first element with the id attribute value matching the location will be used. If no element has a matching id attribute, then the first element with a name attribute matching the location will be used.

Tags: