That's one of the things I mentioned, I don't want to type faster, I want to keep a normal typing speed but not timeout. It looks like Webdriver has some timeout settings but I don't know how to access them from Watir.

manu

On 1/4/2011 4:46 PM, orde wrote:
Try 'speed=:fast'.  For example:

browser = Watir::IE.new
browser.speed=:fast

It's documented at 
http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/IE.html#M000470

Hope it helps.

orde

On Jan 4, 1:12 pm, Emmanuel Cecchet<cecc...@gmail.com>  wrote:
No, this is the set() operation that generates a timeout (Watir starts
writing in the form but it takes a long time and the operation generates
a timeout in the ruby script). I have no timeout on the server side.
I forgot to mention that I am using Watir on Webdriver. So this might be
a timeout coming from Webdriver.

Emmanuel

On 1/4/2011 4:08 PM, jv-watir wrote:







If I understand correctly, it is a session time out, you may want to
change in the web server settings or ask some one too, if it is the
issue.
On Jan 4, 3:45 pm, manu<cecc...@gmail.com>    wrote:
Hi all,
I am writing a pretty big chunk of text in a form and want to keep the
default typing speed in the form to emulate a real user.
So when I call:
browser.text_field(:name, 'field').set('some very long text here')
The operation stops before completion with a timeout.
Is there a way I can override the timeout in the set operation so that
it can complete?
Any other workaround you can suggest?
Thanks
manu

--
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to