InPrivate or Incognito mode?
ThalesC opened this issue · 2 comments
First of all, thanks for the package, it's awesome!
I wasn't able to find a way to open a window InPrivate or Incognito, am I missing something?
If it's not implemented, I saw here that WebView2 now supports InPrivate mode via CoreWebView2ControllerOptions.IsInPrivateModeEnabled and I was wondering if there are any plans on implementing it or if it is even possible?
While there isn't really a roadmap for specific features, this doesn't seem too hard to support. It looks like we need to add interfaces up to ICoreWebView2Environment10
to get access to CreateCoreWebView2ControllerOptions
and CreateCoreWebView2ControllerWithOptions
. So, need the underlying COM implementations for those things, then some kind of API that would expose it, and probably feature detection to continue supporting WebView2 versions that don't have ICoreWebView2Environment10
.
I'm not currently working on it, though. When I touch back to this project I'd like to take a look at cleaning up the pull request that's been sitting here, first. If anyone else wants to take a crack at this please feel free.
It would be great to have this feature.