Instance Method

getActiveTab(completionHandler:)

Calls the completion handler with the active tab in the target window.

Declaration

func getActiveTab(completionHandler: @escaping (SFSafariTab?) -> Void)

Parameters

completionHandler

A block called after the active tab is retrieved.