public class TheWebPage
extends Object
Questions about the current web page state.
-
Constructor Summary
Constructors
-
Method Summary
static net.serenitybdd.screenplay.Question<String>
Returns the current page URL.
static net.serenitybdd.screenplay.Question<String>
Returns the page's HTML source.
static net.serenitybdd.screenplay.Question<String>
Returns the page's title.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.