Class CookieValue
java.lang.Object
net.serenitybdd.screenplay.playwright.questions.CookieValue
Questions about browser cookies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.serenitybdd.screenplay.Question<List<com.microsoft.playwright.options.Cookie>>Get all cookies.static net.serenitybdd.screenplay.Question<Boolean>Check if a cookie exists.static net.serenitybdd.screenplay.Question<String>Get the value of a cookie by name.
-
Constructor Details
-
CookieValue
public CookieValue()
-
-
Method Details
-
of
Get the value of a cookie by name. -
allCookies
public static net.serenitybdd.screenplay.Question<List<com.microsoft.playwright.options.Cookie>> allCookies()Get all cookies. -
exists
Check if a cookie exists.
-