Class Presence

java.lang.Object
net.serenitybdd.screenplay.questions.Presence

public class Presence extends Object
Check whether an element is present in the DOM. An element may be present but not visible.
  • Constructor Details

    • Presence

      public Presence()
  • Method Details

    • of

      public static net.serenitybdd.screenplay.Question<Boolean> of(Target target)
    • of

      public static net.serenitybdd.screenplay.Question<Boolean> of(org.openqa.selenium.By byLocator)
    • of

      public static net.serenitybdd.screenplay.Question<Boolean> of(String locator)
    • ofEach

      public static net.serenitybdd.screenplay.Question<List<Boolean>> ofEach(Target target)
    • ofEach

      public static net.serenitybdd.screenplay.Question<List<Boolean>> ofEach(org.openqa.selenium.By byLocator)
    • ofEach

      public static net.serenitybdd.screenplay.Question<List<Boolean>> ofEach(String locator)