title: How to run Microsoft Edge headless with Selenium Python?
body: <p>With Chrome you can add options when creating the driver. You just do</p>
  <pre><code>options = Options()
  options.headless = True
  driver = webdriver.Chrome(PATH\TO\DRIVER, options=options)
  </code></pre>
  <p>But for some reason when trying to do the same with Microsoft Edge</p>
  <pre><code>options = Options()
  options.headless = True
  driver = webdriver.Edge(PATH\TO\DRIVER, options=options)
  </code></pre>
  <p>I get this error</p>
  <pre><code>TypeError: __init__() got an unexpected keyword argument 'options'
  </code></pre>
  <p>For some reason Edge's driver doesn't accept any other parameters than the file path. Is there any way to run Edge headless and add more options just like in Chrome?</p>