'Add node modules to puppeteer as a script tag?

Is something this possible with Puppeteer? If so, how?

await page.addScriptTag({ url: 'my-node-module' })

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source