sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00248
Re: [Question #140909]: Type problem
Question #140909 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/140909
RaiMan proposed the following answer:
ok, then it might be a timing problem (the paste comes too fast):
insert a wait(2) before the paste and reduce it until it fails again - so you try what is the minimum time you have to wait.
With input fields on web-apps, my experience is about 0.3 to 0.5..
if timing is the problem and you have it solved, type may work too - but
I principally recommend to use paste() for text.
There are other nice features, that keep things moving on one hand and make implicit waits on the other:
http://sikuli.org/docx/globals.html#controlling-sikuli-scripts-and-their-behavior
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.