title: Find CURRENTLY selected <option> with XPath
body: <p>What's the correct XPath syntax to check if an <code>option</code> element is <strong><em>currently</em></strong> selected, or just to get the selected <code>option</code> element from a <code>select</code> element, on an open page with which the user, and JavaScript, may have interacted? Is this even possible with XPath, or does it lack the ability to look at DOM properties?</p>
  
  <p>I can't find any documentation on this, and have (speculatively) tried:</p>
  
  <ul>
  <li><code>//option[@selected=true]</code></li>
  <li><code>//option[@selected="selected"]</code></li>
  <li><code>//option[@selected]</code></li>
  </ul>
  
  <p>but none of these work; they simply don't match any elements.</p>
  
  <p><em>(In case it matters, I've tried this both using the <code>$x</code> function in the Chrome developer console, and using the <code>find_elements_by_xpath</code> method in Selenium for Python.)</em> </p>