sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18224
Re: [Question #229444]: Why Key.ENTER doesn't work?
Question #229444 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229444
Status: Open => Answered
RaiMan proposed the following answer:
Tested on Win7 32 (with the new version 1.0.0, but should not make a
difference)
app = App('Mozilla Firefox')
app.focus()
wait(1)
type(type('l', KeyModifier.CTRL) # lowercase L
# this goes to the address bar and selects current content
wait(1)
type("hallo")
type(Key.Enter)
# brings up the Google result page about "hallo"
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.