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!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdeb19-31439.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdeb19-31439.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?