Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to use a proxy in Antview?
#1
Hi Wil.

Is it possible to use a proxy settings in AntView?

Popular proxy settings are using IP address to authentication so there is no need to set login and password.

I need set for example: --proxy-server=https://1.2.3.4:1234

Should I use EdgeWebBrowser.Settings?

Could you share an example in Visual Basic 6?
Reply
#2
Hi,

That would be via EnvironmentOptions which isn't currently exposed.
Via the AdditionalBrowserArguments property one can set chrome flags and one of those possible flags is for proxy settings.
I'm not sure if these specific chrome flags are even supported with WebView2.

Just had a quick look at github and it does look like it is indeed recommended to use the method above.
Microsoft is tracking their proxy support in feedback item #132

I will look into this after I release the beta.

Do you need proxy support on an application bases or per webview2 instance?
--
Wil
Reply
#3
(2022-04-20, 13:42:36)wila Wrote: Hi,

That would be via EnvironmentOptions which isn't currently exposed.
Via the AdditionalBrowserArguments property one can set chrome flags and one of those possible flags is for proxy settings.
I'm not sure if these specific chrome flags are even supported with WebView2.

Just had a quick look at github and it does look like it is indeed recommended to use the method above.
Microsoft is tracking their proxy support in feedback item #132

I will look into this after I release the beta.

Do you need proxy support on an application bases or per webview2 instance?
--
Wil

I visit the site from my app. From time to time, I have to change my IP address.

It looks like the AntView-based browser and msedgewebview2.exe processes are closed when the visit ends. In addition, I delete the folder with the user data and renew the visit from a different IP
Reply
#4
(2022-04-20, 13:42:36)wila Wrote: Hi,

That would be via EnvironmentOptions which isn't currently exposed.
Via the AdditionalBrowserArguments property one can set chrome flags and one of those possible flags is for proxy settings.
I'm not sure if these specific chrome flags are even supported with WebView2.

Just had a quick look at github and it does look like it is indeed recommended to use the method above.
Microsoft is tracking their proxy support in feedback item #132

I will look into this after I release the beta.

Do you need proxy support on an application bases or per webview2 instance?
--
Wil

Hi.

Is nny chance you can add support for additional arguments.
As they describe on the forums I would like to add AdditionalBrowserArguments = "--proxy-server=123.123.123.123:4321"

The ability to add custom parameters to the command line would greatly expand the applicability of Antview

Regards Przemek
Reply
#5
(2022-04-29, 08:01:02)MrPrzemek Wrote: Hi.

Is nny chance you can add support for additional arguments.
As they describe on the forums I would like to add AdditionalBrowserArguments = "--proxy-server=123.123.123.123:4321"

The ability to add custom parameters to the command line would greatly expand the applicability of Antview

Regards Przemek

Agreed.

That would be the correct way to handle this as it would open support for a lot of options and provide most freedom.
--
Wil
Reply
#6
Hi,

This was added for another request.
I'll send you a link to the private build.

--
Wil
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)