← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #259792]: How to clear the text in the text box before entering a new one?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
you have to simulate with type(), what you have to do manually.

for example:
- give focus to the field somehow (e.g. click())
- select all (e.g. type("a", Key.CTRL)
- start to type (which overwrites)

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