title: how can I suppress webdriver command window when I drivering Firefox?
body: <pre><code>from selenium import webdriver
  browser = webdriver.Firefox()
  url="http://www.baidu.com"
  browser.get(url)
  browser.find_element_by_id('kw').send_keys(u"python")
  browser.find_element_by_id('su').click()
  </code></pre>
  
  <p>when I run the above python code to drive Firefox, it always pops up a cmd window as below:</p>
  
  <p><a href="https://i.stack.imgur.com/QePSn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QePSn.png" alt="window"></a></p>
  
  <p>How can I suppress the cmd window? I am new in programming. Thanks a million!</p>
  
  <p>I tried to drive chrome, and similar command box too. How can get rid of this annoying command window?</p>