Can I intercept all the executed Javascript methods on the page in the WKWebView of iOS?

as in the title, now we have made an app, with a browser using Cordova"s Inappbrowser. Now we want to know which Javascript methods are executed in the visited page through the browser in this application.

now that we know that Cordova"s Inappbrowser is based on WKWebView, is there any way to achieve this function? Can I intercept all executed Javascript code in WKWebView?

Thank you very much!

Menu