title: Selenium paste text into textarea
body: <p>Using Selenium, I'd like to edit the contents of a <code>textarea</code>. Calling <code>textarea.SendKeys("My text")</code> works, but it types it in letter by letter which is obviously quite slow for longer strings. </p>
  
  <p>One workaround I found (<a href="http://code.google.com/p/selenium/issues/detail?id=2876" rel="nofollow">http://code.google.com/p/selenium/issues/detail?id=2876</a>) suggests that I copy the string to a clipboard and paste it into the <code>textarea</code>. The <code>Keys</code> reference they give is ambiguous between <code>OpenQA.Selenium.Keys</code> and <code>System.Windows.Forms.Keys</code>, so I tried both of them. Here's my code to do that:</p>
  
  <pre><code>Clipboard.SetDataObject("My  text");
  textarea.SendKeys(OpenQA.Selenium.Keys.Control + "v");
  </code></pre>
  
  <p>This freezes the application. If I use <code>System.Windows.Forms.Keys.Control</code> instead, it types in controlv, which obviously is not what I want.</p>
  
  <p>Does anyone have any idea as to what the problem might be?</p>