Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can the TypeText delay in Watin be reduced?

Tags:

c#

watin

How does one reduce the delay between keypresses in the TypeText method of Watin? Is there a better way if I want to "instantaneously" type some text?

like image 280
Kim Sun-wu Avatar asked Dec 27 '10 01:12

Kim Sun-wu


1 Answers

I know its a bit late but I might as well share this bit of info for others having the same problem who land here especially considering you asked for an example.

IE browser = new IE();

browser.TextField("UserName").Value = "admin";
browser.TextField("Password").Value = "pass123";

Have fun. Here is a nice post on an alternative way which is where I found this some time back.

like image 167
Francis Rodgers Avatar answered Oct 04 '22 02:10

Francis Rodgers