Cuadrix / puppeteer-page-proxy

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

useProxyPer[target.constructor.name]: name will be mangled in minified code #88

Open fuqiang-code opened 1 year ago

fuqiang-code commented 1 year ago

Solutions I use temporarily:

Object.defineProperty(request.constructor, 'name', {
                    get(): any {
                        return 'HTTPRequest'
                    },
                })
fuqiang-code commented 1 year ago

Object.defineProperty(this.logInPage.constructor, 'name', { get(): any { return 'CDPPage' }, })

LegendaryEmoji commented 1 year ago

For anyone having the issue, ignore the person above me and go to this Pull Request and change the stuff to fix all the issues.