Package com.microsoft.playwright
Class BrowserContext.CloseOptions
- java.lang.Object
-
- com.microsoft.playwright.BrowserContext.CloseOptions
-
- Enclosing interface:
- BrowserContext
public static class BrowserContext.CloseOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description CloseOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrowserContext.CloseOptionssetReason(String reason)The reason to be reported to the operations interrupted by the context closure.
-
-
-
Field Detail
-
reason
public String reason
The reason to be reported to the operations interrupted by the context closure.
-
-
Method Detail
-
setReason
public BrowserContext.CloseOptions setReason(String reason)
The reason to be reported to the operations interrupted by the context closure.
-
-