title: How to set text into TextArea with Selenium Webdriver?
body: <p>I am trying to set some Text into the TextArea which has some kind of text to it by default which when clicked clears out and then you can set text to it, but I'm enable to perform it with webdriver using java.</p>
  <hr />
  <p>Here's the code snippet of the TextArea:</p>
  <p><code>&lt;textarea id=&quot;gwt-uid-13&quot; class=&quot;v-textarea v-widget v-textarea-required v-required v-has-width v-textarea-prompt&quot; aria-labelledby=&quot;gwt-uid-12&quot; aria-required=&quot;true&quot; rows=&quot;5&quot; tabindex=&quot;0&quot; style=&quot;width: 600px;&quot; maxlength=&quot;4000&quot;/&gt;</code></p>
  <hr />
  <p>Here's what I have tried so far:
  element is the TextArea control itself:</p>
  <pre><code>element= driver.findElement(By.id(&quot;gwt-uid-13&quot;))
  element.clear();
  element.sendKeys(&quot;Modification Comment TextArea&quot;);
  </code></pre>
  <hr />
  <p>Also, I tried first clicking the element too:</p>
  <p><code>element.click(); element.clear(); element.sendKeys(&quot;Modification Comment TextArea&quot;);</code></p>
  <p>Please check out the images attached for more info:</p>
  <p><img src="https://i.stack.imgur.com/ikSjl.png" alt="" /></p>
  <p><img src="https://i.stack.imgur.com/LZKHx.png" alt="" /></p>