Interface ElementAction<D extends org.openqa.selenium.WebDriver>

  • Type Parameters:
    D - Driver type supported by this action.

    public interface ElementAction<D extends org.openqa.selenium.WebDriver>
    Represents an element action that can be uploaded and executed inside a recorder test.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean run​(D driver, org.openqa.selenium.By elementSearchCriteria)
      Implementation of the action code.
    • Method Detail

      • run

        boolean run​(D driver,
                    org.openqa.selenium.By elementSearchCriteria)
        Implementation of the action code.
        Parameters:
        driver - The driver used by the action.
        elementSearchCriteria - Search criteria used to find the element.
        Returns:
        True if action passed.