dev-proxy icon indicating copy to clipboard operation
dev-proxy copied to clipboard

[How-to guide]: Attach proxy to a browser instance

Open garrytrinder opened this issue 2 years ago • 4 comments

Currently we ask users to setup a global proxy, however this might not be the best approach for developers.

It is possible to launch Chromium-based browsers (demonstrated by @waldekmastykarz on Graph Field call) and attach the proxy directly to a browser instance.

garrytrinder avatar Jan 18 '23 16:01 garrytrinder

The approach I've been using seems like to be working only in Chrome specifically. It seems like Edge is not exposing the necessary options and the only way to use a proxy with it is through system settings. At least that's what I've been able to find out. If there's a way to specify a proxy just for Edge, it would be very helpful.

waldekmastykarz avatar Jan 18 '23 18:01 waldekmastykarz

That is consistent with my experiments too. Still, it would be good to have that documented so that folks have the option.

gavinbarron avatar Jan 19 '23 22:01 gavinbarron

The approach I've been using seems like to be working only in Chrome specifically.

Interesting, I had assumed that as they are both Chromium based that it would also apply to Edge, thanks for letting me know.

garrytrinder avatar Jan 20 '23 09:01 garrytrinder

Theoretically, the engine would support it, but the Edge executable is not exposing the proxy configuration option on the command line, which is why you can't set it up the same way as you can with Chrome.

waldekmastykarz avatar Jan 20 '23 12:01 waldekmastykarz