Package com.microsoft.playwright
Class BrowserContext.ClearCookiesOptions
- java.lang.Object
-
- com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
- Enclosing interface:
- BrowserContext
public static class BrowserContext.ClearCookiesOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description ClearCookiesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrowserContext.ClearCookiesOptionssetDomain(String domain)Only removes cookies with the given domain.BrowserContext.ClearCookiesOptionssetDomain(Pattern domain)Only removes cookies with the given domain.BrowserContext.ClearCookiesOptionssetName(String name)Only removes cookies with the given name.BrowserContext.ClearCookiesOptionssetName(Pattern name)Only removes cookies with the given name.BrowserContext.ClearCookiesOptionssetPath(String path)Only removes cookies with the given path.BrowserContext.ClearCookiesOptionssetPath(Pattern path)Only removes cookies with the given path.
-
-
-
Method Detail
-
setDomain
public BrowserContext.ClearCookiesOptions setDomain(String domain)
Only removes cookies with the given domain.
-
setDomain
public BrowserContext.ClearCookiesOptions setDomain(Pattern domain)
Only removes cookies with the given domain.
-
setName
public BrowserContext.ClearCookiesOptions setName(String name)
Only removes cookies with the given name.
-
setName
public BrowserContext.ClearCookiesOptions setName(Pattern name)
Only removes cookies with the given name.
-
setPath
public BrowserContext.ClearCookiesOptions setPath(String path)
Only removes cookies with the given path.
-
setPath
public BrowserContext.ClearCookiesOptions setPath(Pattern path)
Only removes cookies with the given path.
-
-