title: How to located selenium element by css selector
body: <p>I want to locate an element in selenium using css selector, and I use the program &quot;copy css selector&quot; and got:</p>
  <pre><code>div&gt;button[type =&quot;submit&quot;]
  </code></pre>
  <p>Is this correct?</p>
  <pre><code>submit_button = driver.find_element_by_css_selector(&quot;input[type='submit']&quot;)
  </code></pre>