Interface LocationStrategy
public interface LocationStrategy
Allows to locate WebElements by providing their locators (By).
See an example usage in ImplementsLocationStrategy.
- Author:
- Lukas Fryc
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.ByfromAnnotation(Annotation annotation) Transforms annotation which is marked with this location strategy usingImplementsLocationStrategyannotation to locatorBy.
-
Method Details
-
fromAnnotation
Transforms annotation which is marked with this location strategy usingImplementsLocationStrategyannotation to locatorBy.
-