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 Type
    Method
    Description
    org.openqa.selenium.By
    Transforms annotation which is marked with this location strategy using ImplementsLocationStrategy annotation to locator By.
  • Method Details

    • fromAnnotation

      org.openqa.selenium.By fromAnnotation(Annotation annotation)
      Transforms annotation which is marked with this location strategy using ImplementsLocationStrategy annotation to locator By.