handleJavaScriptConfirm(message:initiatedBy:)
A JavaScript confirm() function has been invoked.
Declaration
@MainActor func handleJavaScriptConfirm(message: String, initiatedBy frame: WebPage.FrameInfo) async -> WebPage.JavaScriptConfirmResultParameters
- message:
The message provided by JavaScript.
- frame:
Information about the frame whose JavaScript process initiated this call.
Return Value
The result of handling the invocation.