title: How can i select this span element?
body: <p>I am just starting with Selenium and now in need to select this element:</p>
  
  <pre><code>&lt;span class=" close"&gt;Matrices&lt;/span&gt;
  </code></pre>
  
  <p>This line of code returns zero elements, so i guess it's not the right one :-)</p>
  
  <pre><code>ReadOnlyCollection&lt;IWebElement&gt; matrixLink = driver.FindElements(By.PartialLinkText("Matrices"));
  </code></pre>
  
  <p>But I could not find another one suitable, besides the Xpath, but that looks like this (<code>//*[@id=\"Navigation\"]/div[2]/div[2]/ul/li[7]/span</code>), and that seems a bit fragile to me?   </p>
  
  <p><strong>EDIT</strong>:
  the span has the class 'close'.
  It's part of a menu, where there are 19 span's with the class 'close' so it's not a unique selector unfortunately....</p>