performCommand(_:)
Performs the specified command, triggering events specific to this extension.
Declaration
func performCommand(_ command: WKWebExtension.Command)Parameters
- command:
The command to be performed.
Discussion
This method performs the given command as if it was triggered by a user gesture within the context of the focused window and active tab.