title: How to prevent Content Security Policy errors with testcafe electron plugin?
body: <p>I'm getting a lot of Content Security errors in the console when trying to run my electron app in Testcafe:</p>
  
  <p><em>VM110 pagewrap.bundle.js:3 Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'none'". Either the 'unsafe-inline' keyword, a hash ('sha256-Z+HxFhVCHMznEI/lLsU2FT9krRiVCTm6bGApEd5HAtk='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.</em></p>
  
  <p>Tested with different electron versions (4,6,7) on Linux. (with version 0.0.14 of the provider plugin)
  I also tried to add </p>
  
  <p><code>&lt;meta http-equiv="Content-Security-Policy"  content="default-src 'unsafe-inline'; etc." /&gt;</code></p>
  
  <p>just for testing but it didn't help</p>
  
  <p>I'm not even sure if the right mainWindowUrl is loaded since I only see a black page showing the electron version and my OS and tthe URLS are looking like <a href="http://192.168.178.79:37961" rel="nofollow noreferrer">http://192.168.178.79:37961</a>...</p>
  
  <p>Is there a way to debug the loading process of testcafe or any hint how to prevent these errors?</p>