korimo / firewatir

Automatically exported from code.google.com/p/firewatir
0 stars 0 forks source link

Slow typing speed #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
ff=Firefox.new
ff.goto("http://www.google.com/ncr")
ff.text_field(:name, "q").set ("somelongstring")

Expected result: Typing a lot faster than 1 character per second
Actual result: Typing approx 1 character per second

What version of the product are you using? On what operating system?
FireWatir-1.1 on Fedora 7

Please provide any additional information below.
I use FireWatir to test a Mail application in which I need to fill out
several text inputs and text area(s). This issue makes it so that an
average compose can take up to 1 minute to fill in.

If anyone's interested in a dirty fix replace line 1381 in htmlelements.rb
from "doKeyPress( setThis )" to "@o.value = setThis". This doesn't have the
benefits of firing On{KeyUp,Press,Down} for every character, but it does
fill in forms a lot faster.

Original issue reported on code.google.com by ghimus on 22 Oct 2007 at 10:02

GoogleCodeExporter commented 9 years ago
see bug 49

Original comment by ang...@gmail.com on 23 Oct 2007 at 6:05