Class PlaywrightQuestions

java.lang.Object
net.serenitybdd.screenplay.playwright.questions.PlaywrightQuestions

public class PlaywrightQuestions
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    PlaywrightQuestions()  
  • Method Summary

    Modifier and Type Method Description
    static Question<java.lang.String> pageTitle()
    Returns the page's title
    static Question<java.lang.String> textOf​(java.lang.String selector)  
    static Question<java.lang.String> textOf​(Target element)
    Return the inner text value of an element.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlaywrightQuestions

      public PlaywrightQuestions()
  • Method Details

    • pageTitle

      public static Question<java.lang.String> pageTitle()
      Returns the page's title
    • textOf

      public static Question<java.lang.String> textOf​(Target element)
      Return the inner text value of an element.
    • textOf

      public static Question<java.lang.String> textOf​(java.lang.String selector)