Uses of Class
com.microsoft.playwright.options.Cookie
-
Packages that use Cookie Package Description com.microsoft.playwright com.microsoft.playwright.options -
-
Uses of Cookie in com.microsoft.playwright
Methods in com.microsoft.playwright that return types with arguments of type Cookie Modifier and Type Method Description default List<Cookie>BrowserContext. cookies()If no URLs are specified, this method returns all cookies.List<Cookie>BrowserContext. cookies(String urls)If no URLs are specified, this method returns all cookies.List<Cookie>BrowserContext. cookies(List<String> urls)If no URLs are specified, this method returns all cookies.Method parameters in com.microsoft.playwright with type arguments of type Cookie Modifier and Type Method Description voidBrowserContext. addCookies(List<Cookie> cookies)Adds cookies into this browser context. -
Uses of Cookie in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return Cookie Modifier and Type Method Description CookieCookie. setDomain(String domain)either url or domain / path are required Optional.CookieCookie. setExpires(double expires)Unix time in seconds.CookieCookie. setHttpOnly(boolean httpOnly)Optional.CookieCookie. setPath(String path)either url or domain / path are required Optional.CookieCookie. setSameSite(SameSiteAttribute sameSite)Optional.CookieCookie. setSecure(boolean secure)Optional.CookieCookie. setUrl(String url)either url or domain / path are required.
-