puppeteer/new-docs/puppeteer.protocol.page.javascriptdialogopeningevent.hasbrowserhandler.md
2020-07-13 14:01:35 +01:00

828 B

Home > puppeteer > Protocol > Page > JavascriptDialogOpeningEvent > hasBrowserHandler

Protocol.Page.JavascriptDialogOpeningEvent.hasBrowserHandler property

True iff browser is capable showing or acting on the given dialog. When browser has no dialog handler for given target, calling alert while Page domain is engaged will stall the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.

Signature:

hasBrowserHandler: boolean;