Is there a way to set command line flags for new browser windows without restarting?


#1

I’d like to change some of the Chromium command line flags (e.g. to enable/disable system proxy settings) without restarting my entire app. Is it possible to set command line flags on new browser windows that get opened?


#2

You can use .webContents.session.setProxy to set proxy. But I don’t think you can change Chromium flags during runtime.