title: How can I manage slow textarea speed with Watir-Webdriver in Firefox, linux?
body: <p>I am using 
  Ruby 1.8.7, Watir-Webdriver 0.6.1, Arch Linux, Firefox 14</p>
  
  <p>I have read a lot of answers and examples in this topic, but none of them worked for me.
  When I want to paste a large piece of data (only about 15 lines of text) into a textarea it is terrible slow. As I don't want typing emulation, I would like the maximum available speed, so I tried to set the variable "browser.speed = :zippy" but it seems don't work in Watir-Webdriver, only an error message appears: "undefined method `speed=' for #"</p>
  
  <p>Then I tried to set native_events to false, an error message arises again: 
  "undefined method `native_events' for #"
  so I am a bit confused.</p>
  
  <p>This is my whole code snippet</p>
  
  <pre><code>require 'rubygems'
  require 'watir-webdriver'
  require 'xmlsimple'
  default_profile = Selenium::WebDriver::Firefox::Profile.from_name "default"
  default_profile.native_events = false
  default_profile['javascript.enabled']=false
  browser = Watir::Browser.new :ff, :profile =&gt; default_profile
  browser.speed = :zippy
  </code></pre>
  
  <p>line 5. and 6. and 8. all throw an error message.</p>
  
  <p>At last I tried to edit text_field.rb as it is mentioned in this answer (http://stackoverflow.com/questions/5000164/firewatir-textfield-set-very-slow) but it is in a .gem file and in a tar.gz. I unzipped but I am unable to find the relevant lines:</p>
  
  <pre><code># encoding: utf-8
  module Watir
    class TextField &lt; Input
      include UserEditable
  
      attributes Watir::TextArea.typed_attributes
      remove_method :type # we want Input#type here, which was overriden by TextArea's attributes
  
      private
  
      def locator_class
        TextFieldLocator
      end
  
      def selector_string
        selector = @selector.dup
        selector[:type] = '(any text type)'
        selector[:tag_name] = "input or textarea"
        selector.inspect
      end
    end
  
    module Container
      def text_field(*args)
        TextField.new(self, extract_selector(args).merge(:tag_name =&gt; "input"))
      end
  
      def text_fields(*args)
        TextFieldCollection.new(self, extract_selector(args).merge(:tag_name =&gt; "input"))
      end
    end # Container
  
    class TextFieldCollection &lt; InputCollection
      private
  
      def locator_class
        TextFieldLocator
      end
  
      def element_class
        TextField
      end
    end # TextFieldCollection
  end
  </code></pre>