title: Ruby/Watir : firefox headless
body: <p>according to this: <a href="https://developer.mozilla.org/en-US/Firefox/Headless_mode" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/Firefox/Headless_mode</a> firefox 57+, has the ability to run in headless mode.</p>
  
  <p>i tried to use it with this:</p>
  
  <p><code>omg3r = Watir::Browser.new :firefox, profile: 'omg3r', args: "-headless"</code></p>
  
  <p>and i couldn't find an example to how to properly send arguments to firefox in watir.
  help please</p>