In puppeteer how to access exports from a script injected using 'page.addScriptTag'?

前端 未结 0 685
日久生厌
日久生厌 2020-12-23 02:40

In a puppeteer script I want to inject some utility functions to a webpage via page.addScriptTag and use some exports defined in the file.

  awai         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题