Interface CustomLocator
-
- All Known Implementing Classes:
RelativeLocatorServerSide
public interface CustomLocator
Allows servers to add additional locator strategies to the Selenium Server. This takes the JSON payload of the Find Element command (essentially{"using": "locator-name", "value": "arguments"}
) and calls it in the context of the server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description By
createBy(java.lang.Object usingParameter)
java.lang.String
getLocatorName()
-
-
-
Method Detail
-
getLocatorName
java.lang.String getLocatorName()
- Returns:
- The locator name, which is the value of the
using
property of the JSON payload.
-
createBy
By createBy(java.lang.Object usingParameter)
-
-