[Feature]: Devtools open event should be there such that opening of new window can be prevented
Describe the feature/enhancement you need
When we open Devtools , then it opens it in a new webview2 instance , but as in Edge browser it opens within the same window , so there should be an event such that opening of new window can be prevented and within the same window we can open it .
cc : @JosephJin0815 , @champnic , @yild
The scenario/use case where you would use this feature
Instead of opening in a new window
it should open in the same window .
When we open Devtools , then it opens it in a new webview2 instance , but as in Edge browser it opens within the same window , so there should be an event such that opening of new window can be prevented and within the same window we can open it .
How important is this request to you?
Critical. My app's basic functions wouldn't work without it.
Suggested implementation
No response
What does your app do? Is there a pending deadline for this request?
No response
I prefer this to be optional. In my case I want DevTools to open in the new window (like it does now).
This seems like a reasonable ask - we're tracking it internally. Thanks for the request!
related to https://github.com/MicrosoftEdge/WebView2Feedback/issues/4423
Hii @champnic , any update on this bug ? If possible , can you provide some estimate , by when this can be fixed or any other way to handle this ?
Hi @champnic , @sivMSFT , @Lakshmisha-KS Any update on this Feature ? If possible , can you provide some estimate , by when this can be fixed or any other way to handle this ?