title: Headless Chrome - getting blank page source
body: <p>I'm trying to load a website with Chrome browser in headless mode using Selenium web driver. I face an issue with some specific websites. The page is loading, in the first 2-3 seconds it shows a page with "please enable javascript..." and after 3 seconds, page source goes blank.</p>
  
  <p>I'm using Selenium and especially Chrome for long time and I am familiar with the platform. For the purpose of this case, I'm using Chrome Version 73.0.3683.86 , ChromeDriver 2.46.628411 (which is compatible according to <a href="https://stackoverflow.com/questions/41133391/which-chromedriver-version-is-compatible-with-which-chrome-browser-version">Which ChromeDriver version is compatible with which Chrome Browser version?</a>) on a Mac OS. selenium java version is latest - 3.141.59</p>
  
  <p>I suspect that headless Chrome cannot handle specific content-type such as "svg" and any other GUI related HTTP response. </p>
  
  <pre><code>    ChromeOptions chromeOptions = new ChromeOptions();
      chromeOptions.addArguments("--headless");
      WebDriver driver = new ChromeDriver(chromeOptions);
  
      driver.get("https://identity.tescobank.com/login");
  
      Thread.sleep(3000);
  
      System.out.println(driver.getPageSource());
  
      driver.quit();
  </code></pre>
  
  <p>Expected result is to have the page source same as it is showing in non-headless mode.</p>