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

public class TheWebPage extends Object
Questions about the current web page state.
  • Constructor Details

    • TheWebPage

      public TheWebPage()
  • Method Details

    • title

      public static net.serenitybdd.screenplay.Question<String> title()
      Returns the page's title.
    • currentUrl

      public static net.serenitybdd.screenplay.Question<String> currentUrl()
      Returns the current page URL.
    • source

      public static net.serenitybdd.screenplay.Question<String> source()
      Returns the page's HTML source.