Cuadrix / puppeteer-page-proxy

Additional module to use with 'puppeteer' for setting proxies per page basis.
423 stars 99 forks source link

Fix useProxyPer[target.constructor.name] is not a function #107

Closed TutorialMan7727 closed 3 months ago

TutorialMan7727 commented 3 months ago

When suppling page object to useProxy it attempts to detect if it is of type CPDPage or HTTPRequest. In this fix it allows for the constructor name to be CdpPage or HttpRequest (Which in my case it is CdpPage not CDPPage)