| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
void |
Page.offDialog(Consumer<Dialog> handler)
Removes handler that was previously added with
onDialog(handler). |
void |
Page.onceDialog(Consumer<Dialog> handler)
Adds one-off
Dialog handler. |
void |
Page.onDialog(Consumer<Dialog> handler)
Emitted when a JavaScript dialog appears, such as
alert, prompt, confirm or beforeunload. |
Copyright © 2021. All rights reserved.