WebPage.DialogPresenting
Allows providing custom behavior to handle JavaScript actions and provide a response.
Declaration
protocol DialogPresentingOverview
Typically when handling these, some UI should be presented to the user for them to provide a response, which will then be communicated back to JavaScript.
When these methods are invoked, JavaScript is blocked until the async method returns.