title: How do I set a chromium command line flag in Electron?
body: <p>I am working on an Electron app and need to enable the following Chromium flag <code>GuestViewCrossProcessFrames</code> to make scaling work with webview. </p>
  
  <p>I tried calling the following line in my main.js but it doesn't seem to work. Also tried enabling plugins for the BrowserWindow as well as webview.</p>
  
  <pre><code>app.commandLine.appendSwitch('--enable-features=GuestViewCrossProcessFrames');
  </code></pre>
  
  <p>Can someone help me setting up this flag? Thank you.</p>