Class CookieParam
java.lang.Object
org.openqa.selenium.devtools.v85.network.model.CookieParam
Cookie parameter object
-
Constructor Summary
ConstructorsConstructorDescriptionCookieParam
(String name, String value, Optional<String> url, Optional<String> domain, Optional<String> path, Optional<Boolean> secure, Optional<Boolean> httpOnly, Optional<CookieSameSite> sameSite, Optional<TimeSinceEpoch> expires, Optional<CookiePriority> priority) -
Method Summary
Modifier and TypeMethodDescriptionCookie domain.Cookie expiration date, session cookie if not setTrue if cookie is http-only.getName()
Cookie name.getPath()
Cookie path.Cookie Priority.Cookie SameSite type.True if cookie is secure.getUrl()
The request-URI to associate with the setting of the cookie.getValue()
Cookie value.
-
Constructor Details
-
CookieParam
-
-
Method Details
-
getName
Cookie name. -
getValue
Cookie value. -
getUrl
The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie. -
getDomain
Cookie domain. -
getPath
Cookie path. -
getSecure
True if cookie is secure. -
getHttpOnly
True if cookie is http-only. -
getSameSite
Cookie SameSite type. -
getExpires
Cookie expiration date, session cookie if not set -
getPriority
Cookie Priority.
-