MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Specifying a target frame name when using NavigateWithWebResourceRequest
@champnic is already working on this.
Since Mar 26, 2021.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I'm updating a WinForms application to use the WebView2 control instead of the WebBrowser control .
With WebBrowser, the code is calling Navigate with a target frame name. Now I need an equivalent using WebView2.
I'm constructing and navigating as follows:
var request = f.webView2.CoreWebView2.Environment.CreateWebResourceRequest("mytargeturl", "POST", streamofPostData, "Content-Type: application/x-www-form-urlencoded");
f.webView2.CoreWebView2.NavigateWithWebResourceRequest(request);
There does not seem to be a way to specify the target frame. Is this a feature that needs to be implemented?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.