Uses of Class
com.microsoft.playwright.options.Cookie
-
Packages that use Cookie Package Description com.microsoft.playwright com.microsoft.playwright.impl 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 java.util.List<Cookie>BrowserContext. cookies()If no URLs are specified, this method returns all cookies.java.util.List<Cookie>BrowserContext. cookies(java.lang.String urls)If no URLs are specified, this method returns all cookies.java.util.List<Cookie>BrowserContext. cookies(java.util.List<java.lang.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(java.util.List<Cookie> cookies)Adds cookies into this browser context. -
Uses of Cookie in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl that return types with arguments of type Cookie Modifier and Type Method Description java.util.List<Cookie>BrowserContextImpl. cookies(java.lang.String url)java.util.List<Cookie>BrowserContextImpl. cookies(java.util.List<java.lang.String> urls)private java.util.List<Cookie>BrowserContextImpl. cookiesImpl(java.util.List<java.lang.String> urls)Method parameters in com.microsoft.playwright.impl with type arguments of type Cookie Modifier and Type Method Description voidBrowserContextImpl. addCookies(java.util.List<Cookie> cookies) -
Uses of Cookie in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return Cookie Modifier and Type Method Description CookieCookie. setDomain(java.lang.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(java.lang.String path)either url or domain / path are required Optional.CookieCookie. setSameSite(SameSiteAttribute sameSite)Optional.CookieCookie. setSecure(boolean secure)Optional.CookieCookie. setUrl(java.lang.String url)either url or domain / path are required.
-