Uses of Class
net.serenitybdd.screenplay.playwright.interactions.AddCookieBuilder
Packages that use AddCookieBuilder
-
Uses of AddCookieBuilder in net.serenitybdd.screenplay.playwright.interactions
Methods in net.serenitybdd.screenplay.playwright.interactions that return AddCookieBuilderModifier and TypeMethodDescriptionstatic AddCookieBuilderAdd a cookie with the given name and value.AddCookieBuilder.expiresAt(double timestamp) Set the expiration time as Unix timestamp in seconds.Set the domain for the cookie.AddCookieBuilder.httpOnly()Mark the cookie as HTTP-only.Set the SameSite attribute (Strict, Lax, or None).AddCookieBuilder.secure()Mark the cookie as secure.Set the path for the cookie.