Here is the code snippet that facilitates the INSPECT ELEMENT in WkWebView
preferences.setValue(true, forKey:"developerExtrasEnabled")
Here is the screenshot of INSPECT ELEMENT working in OSX(right click)
Right click is equivalent to Tap & Hold in iOS But I am not able to see anything like I see in OSX
Here is the complete code if anybody wants to try