MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Bind WebView2 to a specific local address

Open
#3,380 2 comments 0 reactions 2 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

feature request
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Hi,
I'm using WebView2 to retrieve stats and analytics of the network. Could happen that on the machine exists various network interfaces and i want to start separate instances of the test in parallel, and i want to be sure which instance is runinng on adapter.

Is there a way to bind a webview2 on specific address? The workaround is to use a webproxy in the middle, but it introduce many limitations ( supported protocols for example ).

It would be optimal to have it as an option directly in the WebView2 component, like:
WebView2Obj.Bind("192.168.1.10");

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.