title: How to select input element with Python Selenium
body: <p>I just cannot find working way to select this element, tried by CSS and xpath, but nothing works.</p>
  
  <pre><code>&lt;input type="submit" value="Submit"&gt;
  </code></pre>
  
  <p>This does not work:</p>
  
  <pre><code>driver.find_element_by_xpath("//*[@id='theform']/div[2]/input").click()
  driver.find_element_by_css_selector(".submit[value='Submit']").click()
  </code></pre>