title: Get text of an element of a dropdown disabled
body: <p>I want to get the text of the element.</p>
  
  <p>This is the dropdown box in disable mode:</p>
  
  <pre><code>&lt;select disabled="" readonly="readonly" onchange="onChange('incident.priority');" style="; " id="incident.priority" class="form-control readonly disabled" ng-non-bindable="true" name="incident.priority"&gt;
      &lt;option value=""&gt;-- None --&lt;/option&gt;
      &lt;option value="1"&gt;1 - Critical&lt;/option&gt;
      &lt;option value="2"&gt;2 - High&lt;/option&gt;
      &lt;option value="3"&gt;3 - Moderate&lt;/option&gt;
      &lt;option value="4"&gt;4 - Low&lt;/option&gt;
      &lt;option value="5"&gt;5 - Planning&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I am using:</p>
  
  <pre><code>JavascriptExecutor jse = (JavascriptExecutor)driver;
  WebElement element = driver.findElement(By.xpath("//select[@id='incident.priority']"));
  String s = (String) jse.executeScript("return arguments[0].text" + "", element);
  System.out.println("Priorityvalue= " + s);
  </code></pre>
  
  <p>The output is null. I want to get that disable element text.</p>