angrykoala/wendigo

Investigate exposeFunction

angrykoala opened this issue · 0 comments

Instead of wendigo custom loader of utils, exposeFunction may replace the currently used injectionScripts.

A plus is that libraries (e.g. lodash->isRegexp) seem to work using this method

https://github.com/puppeteer/puppeteer/blob/main/docs/api.md#pageexposefunctionname-puppeteerfunction