I have a winforms app with an embedded WebView2 browser. When I click on a link that has a target, it opens a new window with a WebView2 Icon in the taskbar. The window only shows the page and the address bar, which is not editable.
I believe this window can also be created by calling the e.NewWindow or Window.Open() method.
I know that I can use the NewWindowRequested event to get the parameters for this window, but how do I set parameters, like the width, height or position?
I have only searched for answers.