title: WebdriverIO waitForExist() select element's selected option
body: <p>My initial research led me to find the jQuery selector that would allow me to return the correct element in the Chrome Inspector, but Webdriver does not or cannot recognize this selector even though jQuery does.</p>
  
  <p>This snippet is what my select element looks like.</p>
  
  <pre><code>&lt;select id="ember2932" tabindex="0" class="reasons-drop-down ember-view x-select"&gt;
      &lt;option id="ember2933" class="ember-view x-option"&gt;Select a Reason&lt;/option&gt;
      &lt;option id="ember2935" value="DOCUMENT_LOST" class="ember-view x-option"&gt;Document Lost&lt;/option&gt;
      &lt;option id="ember2937" value="DATA_ISSUE_CORRECTION" class="ember-view x-option"&gt;Data Issue/Correction&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>The jQuery selector I'm using is:</p>
  
  <pre><code>$("select.reasons-drop-down option:selected:contains('Document Lost')")
  </code></pre>
  
  <p>That works in Chrome Inspector and returns this when the "Document Lost" option is selected:</p>
  
  <pre><code>[&lt;option id=​"ember2935" value=​"DOCUMENT_LOST" class=​"ember-view x-option"&gt;​Document Lost​&lt;/option&gt;​]
  </code></pre>
  
  <p>It returns an empty array when it is not selected because it cannot find the element.</p>
  
  <p>When I started my selector incrementally in Webdriver, it makes meaningful returns all the way up to</p>
  
  <pre><code>$("select.reasons-drop-down option")
  </code></pre>
  
  <p>Once I add the :selected, Webdriver is no longer able to see the existence of the selector, even though the jQuery in the inspector still can.</p>
  
  <p>How can I get Webdriver to recognize the element that I know exists in the DOM and can be selected using jQuery? At this point, I'm blocked because I can't get Webdriver to identify the selected option at all, even though I can clearly get it in jQuery.</p>
  
  <p>How do I verify the selected option in Webdriver? <code>waitForExist()</code> doesn't work and the api for <code>isSelected()</code> doesn't seem to fit this use or I don't understand it.</p>