title: How can I enable download a file using a headless chrome browser in robot framework?
body: <p>How can i use Page.setDownloadBehavior in chrome dev tools to pass on so that I can set the download behavior for headless chrome with the code below?</p>
  
  <pre><code>    Create Chrome Browser
      [Arguments]    ${link_to_open}
      ${chrome_options}=    Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()    sys, selenium.webdriver
      ${prefs}=    Create Dictionary    download.default_directory=${DOWNLOADS_DIR}
     Call Method    ${chrome options}    add_argument    headless 
     Call Method    ${chrome options}    add_argument    disable-gpu
    Selenium2Library.Go To    ${link_to_open}
  </code></pre>