getActiveTab(completionHandler:)
Calls the completion handler with the active tab in the target window.
Declaration
func getActiveTab(completionHandler: @escaping @Sendable (SFSafariTab?) -> Void)func activeTab() async -> SFSafariTab?Parameters
- completionHandler:
A block called after the active tab is retrieved.