-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the possibility to create a web window with startup flags #415
Comments
We do already permit command line flags to be used when the app is initiated, please see: |
But that's for the app you build right? I also searched similar functions(proxy server) on Linux and macOS a few days ago. |
Sorry but I think you didn't understand my proposal. |
As a workaround in the meantime, you can use the
|
While what @geolehmann suggests is definitely possible this is a VERY DANGEROUS workaround, not to mention you can't guarantee any port is available without potentially clobbering or being listened to. |
absolutely true, this should be only used for testing and until we have a better way of doing this. |
I have same requirements to set proxy settings for webview. As for .net implementation, multi webview2 instances can be created and each one can be applied with individual start flags, I would like this function to move to tauri, thank you |
Is your feature request related to a problem?
Yes, developers can't use startup flags when they instantiate new web windows.
Describe the solution you'd like
It's common knowledge that browsers often accept startup flags. In my personal opinion, I think that this project would benefit if such an option was provided.
For instance, in WebWindows2 there are flags that allow us to use a proxy server
--proxy-server 192.168.1.0:8080
, or to change the user data directory--user-data-dir="/random_dir"
.WebView2 startup arguments
Would you assign yourself to implement this feature?
The text was updated successfully, but these errors were encountered: