sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02238
Re: [Question #152680]: How to clear the text field value in Iphone simulator
Question #152680 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/152680
Status: Open => Answered
RaiMan proposed the following answer:
see docs: http://sikuli.org/docx/keys.html#key-constants
It should read:
type("a", KEY_META)
type(Key.BACKSPACE)
KEY_META is the CMD-key on Mac and the WIN-key on Windows. So I guess
this will not do what you want (select all and delete it)
Windows: type("a", KEY_CTRL)
Mac: type("a", KEY_CMD)
Working on Windows or on Mac?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.