title: Python Selenium: Can't find element by link text
body: <p>I am trying to select "seltarget" from a list of other options.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="filter-item" data-reactid=".3.1.0.0.1.0.0.3.0.0.0.3"&gt;seltarget&lt;/div&gt;
  </code></pre>
  
  <p>When exported to a python file it recommends that I locate the element by xpath:</p>
  
  <pre><code>driver.find_element_by_xpath("//div[@id='quickswitcher']/div/nav/ul/li/div/div/menu/div[2]/div/div/div/div[5]").click()
  </code></pre>
  
  <p>This is working for the time being because "seltarget" just happens to be 5th in the list. The above line will select whichever option is 5th in the list. I want to be more specific and select the element "seltarget"</p>