← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258991]: Sikuli click at right location in chrome on mac os x but nothing happens

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
tested this with Chrome on OS X 10.10.1
... and worked as expected (SikuliX 1.1.0)

gc = App("Google Chrome")
gc.focus()
while not gc.window():
  wait(1)
type("l", Key.CMD)
type("sikulix.com") # SikuliX homepage
type(Key.ENTER)
click("NightlyBuild.png") # highly build button
wait(3)
while gc.window():
  type("w", Key.CMD)
  wait(0.5)
type("q", Key.CMD)

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