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

useProxy() not connecting to any proxy and getting stuck

Rovart opened this issue · comments

      await this.page.setRequestInterception(true);

      this.page.on('request', async (request) => {
        await useProxy(request, proxy);
      });
      await this.page.goto(
        this.config.url,
        {
          waitUntil: "networkidle2",
        }
      );

The following example doesn't connect to whatever proxy I pass via the "proxy" variable.

Same here, connection hang after using useProxy