title: How to automate the Ace Editor (send keys) using WebDriver?
body: <p>In my application all the query editors are Ace editor and I need to type in queries using WebDriver. I have tried using send keys but it doesn't seem to work. Is there any other way I can send my input to Ace editor and thus automate?</p>
  
  <p>Below is my HTML code</p>
  
  <pre><code>&lt;div class="" ng-show="queryType=='Spark Query'"&gt;
      &lt;pre class=" ace_editor ace-xcode"&gt;
      &lt;textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; height: 18px; width: 7px; left: 4px; top: 0px;"/&gt;
      &lt;div class="ace_gutter" style="display: none;"&gt;
      &lt;div class="ace_scroller" style="left: 0px; right: 0px; bottom: 0px;"&gt;
      &lt;div class="ace_content" style="margin-top: 0px; width: 659px; height: 334px; margin-left: 0px;"&gt;
      &lt;div class="ace_layer ace_print-margin-layer"&gt;
      &lt;div class="ace_layer ace_marker-layer"/&gt;
      &lt;div class="ace_layer ace_text-layer" style="padding: 0px 4px;"&gt;
      &lt;div class="ace_layer ace_marker-layer"/&gt;
      &lt;div class="ace_layer ace_cursor-layer ace_hidden-cursors"&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>