← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #183604]: Unable to clear the text field using sikuli

 

Question #183604 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/183604

Description changed to:
I want to clear the text field in emulator which is already typed by
other user.

I have tried the below command but its not working

click("the-GUI-text-field.png")
type("a", KeyModifier.CTRL) # select all text
type(Key.BACKSPACE) # delete selection

getting a below error

NameError: name 'KeyModifier' is not defined

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.