An element locator.
An element locator.
The type of strategy to use for this locator.
The search target of this locator.
Factory methods for the supported locator strategies.
The search strategy to use when searching for an element.
The search target for this locator.
Verifies that a {@code locator} is a valid locator to use for searching for elements on the page.
The locator to verify, or a short-hand object that can be converted into a locator to verify.
The validated locator.
Creates a new Locator from an object whose only property is also a key in the {@code webdriver.Locator.Strategy} map.
The object to convert into a locator.
The new locator object.
string
String representation of this locator.