MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Specifying a target frame name when using NavigateWithWebResourceRequest

Open
#1,105 5 comments 0 reactions 1 assignee View on GitHub

@champnic is already working on this.

Since Mar 26, 2021.

feature request tracked
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?

AB#32257699

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.