title: find element by id selenium in python
body: <p>In selenium when I search for an id or an id in an xpath, I am instantly met with a syntax error. For example, if I run</p>
  
  <pre><code>driver.find_element_by_xpath("//*[@id="select-dance"]/option[2]").click()
  </code></pre>
  
  <p>I immediately get an error </p>
  
  <pre><code>   driver.find_element_by_xpath("//*[@id="select-dance"]/option[2]").click()
                                                  ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>I tried saving "select-dance" to a variable and then putting that variable in, but that does not help either.</p>