Class Text

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

public class Text extends Object
Get the visible (i.e. not hidden by CSS) text of this element, including sub-elements.
  • Constructor Details

    • Text

      public Text()
  • Method Details

    • of

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

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

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

      public static net.serenitybdd.screenplay.Question<Collection<String>> ofEach(Target target)
    • ofEach

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

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