Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useProxy() not connecting to any proxy and getting stuck #74

Open
Rovart opened this issue Dec 28, 2021 · 1 comment
Open

useProxy() not connecting to any proxy and getting stuck #74

Rovart opened this issue Dec 28, 2021 · 1 comment
Labels
invalid This doesn't seem right

Comments

@Rovart
Copy link

Rovart commented Dec 28, 2021

      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.

@Cuadrix Cuadrix added the invalid This doesn't seem right label Oct 10, 2022
@makanSukros
Copy link

Same here, connection hang after using useProxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants