| Package | Description |
|---|---|
| com.microsoft.playwright | |
| com.microsoft.playwright.options |
| Modifier and Type | Method and Description |
|---|---|
default List<Cookie> |
BrowserContext.cookies()
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.
|
List<Cookie> |
BrowserContext.cookies(String urls)
If no URLs are specified, this method returns all cookies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BrowserContext.addCookies(List<Cookie> cookies)
Adds cookies into this browser context.
|
| Modifier and Type | Method and Description |
|---|---|
Cookie |
Cookie.setDomain(String domain) |
Cookie |
Cookie.setExpires(double expires) |
Cookie |
Cookie.setHttpOnly(boolean httpOnly) |
Cookie |
Cookie.setPath(String path) |
Cookie |
Cookie.setSameSite(SameSiteAttribute sameSite) |
Cookie |
Cookie.setSecure(boolean secure) |
Cookie |
Cookie.setUrl(String url) |
Copyright © 2021. All rights reserved.