Cuadrix / puppeteer-page-proxy

Additional module to use with 'puppeteer' for setting proxies per page basis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

fuqiang-code opened this issue · comments

Solutions I use temporarily:

Object.defineProperty(request.constructor, 'name', {
                    get(): any {
                        return 'HTTPRequest'
                    },
                })

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

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.