Package com.microsoft.playwright
Class Page.CloseOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.CloseOptions
-
- Enclosing interface:
- Page
public static class Page.CloseOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.BooleanrunBeforeUnloadDefaults tofalse.
-
Constructor Summary
Constructors Constructor Description CloseOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.CloseOptionssetRunBeforeUnload(boolean runBeforeUnload)Defaults tofalse.
-
-
-
Field Detail
-
runBeforeUnload
public java.lang.Boolean runBeforeUnload
Defaults tofalse. Whether to run the before unload page handlers.
-
-
Method Detail
-
setRunBeforeUnload
public Page.CloseOptions setRunBeforeUnload(boolean runBeforeUnload)
Defaults tofalse. Whether to run the before unload page handlers.
-
-