title: Find the second element from DOM using selenium and python
body: <p>I have a 2 elements on my web page that has the same class name and I am trying to access the second element and I am unable to do that.</p>
  
  <p>The span looks like this:</p>
  
  <pre><code>&lt;span class="REPORTING_DASHBOARDS__link navMenuLabel "&gt;
  
  Dashboards
  
  &lt;/span&gt;
  </code></pre>
  
  <p>My code for this part looks like this:</p>
  
  <pre><code>dashboards_button = driver.find_element_by_css_selector(".REPORTING_DASHBOARDS__link.navMenuLabel")[1]                                                          
  dashboards_button.click()
  </code></pre>