title: entering a value in a text box using python selenium
body: <p>I started to learn python selenium but I have a simple problem that I can't Understand it ...
  It can open site but can't write anything in any boxes ...
  It just open the site ...</p>
  
  <p>what's the problem ???</p>
  
  <p>Search field name is"q"</p>
  
  <pre><code>&lt;input id="id-search-field" name="q" type="search" role="textbox" class="search-field placeholder" placeholder="Search" value="" tabindex="1"&gt;
  </code></pre>
  
  <p>and the code is :</p>
  
  <pre><code>from selenium.webdriver import Chrome
  from selenium.webdriver.common.keys import Keys
  
  
  driver = Chrome("C://chromedriver.exe")
  driver.get("http://www.python.org")
  
  
  elem = driver.find_element_by_name("q")
  elem.send_keys("selenium")
  elem.send_keys(Keys.RETURN)
  
  driver.close()
  </code></pre>