Contents

handleJavaScriptConfirm(message:initiatedBy:)

A JavaScript confirm() function has been invoked.

Declaration

@MainActor func handleJavaScriptConfirm(message: String, initiatedBy frame: WebPage.FrameInfo) async -> WebPage.JavaScriptConfirmResult

Parameters

  • 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.