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

public class CookieValue extends Object
Questions about browser cookies.
  • Constructor Details

    • CookieValue

      public CookieValue()
  • Method Details

    • of

      public static net.serenitybdd.screenplay.Question<String> of(String cookieName)
      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

      public static net.serenitybdd.screenplay.Question<Boolean> exists(String cookieName)
      Check if a cookie exists.