Uses of Class
com.microsoft.playwright.Page.CloseOptions
-
Packages that use Page.CloseOptions Package Description com.microsoft.playwright -
-
Uses of Page.CloseOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return Page.CloseOptions Modifier and Type Method Description Page.CloseOptionsPage.CloseOptions. setReason(String reason)The reason to be reported to the operations interrupted by the page closure.Page.CloseOptionsPage.CloseOptions. setRunBeforeUnload(boolean runBeforeUnload)Defaults tofalse.Methods in com.microsoft.playwright with parameters of type Page.CloseOptions Modifier and Type Method Description voidPage. close(Page.CloseOptions options)IfrunBeforeUnloadisfalse, does not run any unload handlers and waits for the page to be closed.
-