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

I am trying to use a proxy in Webkit and when I redirect once it loses the proxy. What am I doing wrong? #4117

Closed
blakel58 opened this issue Oct 12, 2020 · 3 comments

Comments

@blakel58
Copy link

const browser = await webkit.launch({
headless: false,
ignoreDefaultArgs: ["--enable-automation"],
proxy: {
server: http://${proxyUse.host}:${proxyUse.port},
username: proxyUse.username,
password: proxyUse.password,
}
});
const context = await browser.newContext();
const page = await context.newPage();

This will keep the proxy on the first page I go to, but after that the proxy is lost.

@pavelfeldman
Copy link
Member

I can't repro this, will add a test shortly.

@blakel58
Copy link
Author

Okay thank you. I noticed that a certain site you can reproduce it on and it is very strange. When on https://www.supremenewyork.com/shop/all you can see the proxy is set and used as the top time changes to the region (I am USA and when using a UK proxy I get LDN for the time) but as soon as I change to a category such as https://www.supremenewyork.com/shop/all/accessories you'll notice the time changes back. When I used puppeteer in the past I never had the issue, so I'm confused as to why this is occurring. I've tried in both js and go, and on webkit and chromium. Thanks for the response.

@pavelfeldman
Copy link
Member

Closing it since we can't act on it w/o the repro. Please feel free to reopen it with the additional details!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants