title: How to use Chrome headless with chromedp?
body: <p>I'm using <a href="https://github.com/knq/chromedp" rel="nofollow noreferrer">chromedp</a>, which has features to focus on elements, fill in text, etc. Chrome 59 has cross-platform headless support. It allows running Chrome in a headless/server environment. To use via the DevTools remote debugging protocol, start a normal Chrome binary with the --headless command line flag (Linux-only for now):</p>
  
  <blockquote>
    <p>$ google-chrome --headless --disable-gpu --remote-debugging-port=9222 <a href="https://www.google.fr" rel="nofollow noreferrer">https://www.google.fr</a></p>
  </blockquote>
  
  <p>How can I tell <code>chromedp</code> to send the --headless flag, along with other flags?</p>