| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
Page.CloseOptions |
Page.CloseOptions.setRunBeforeUnload(boolean runBeforeUnload) |
| Modifier and Type | Method and Description |
|---|---|
void |
Page.close(Page.CloseOptions options)
If
runBeforeUnload is false, does not run any unload handlers and waits for the page to be closed. |
Copyright © 2021. All rights reserved.