← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #272241]: Help to click on image based on text info observed

 

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

RaiMan proposed the following answer:
this works with version 1.1.0 using this web page:

top = "top.png" # image of the title "Question information"
reg = find(top).below()
#reg.highlight(2)
icon = "icon.png" # image of the yellow icons
mIcons = reg.findAllByRow(Pattern(icon).similar(0.95))
for mIcon in mIcons:
  print mIcon
  mIcon.hover()

label = reg.findText("English")
#label.highlight(2)
label.rightAt(15).hover()
wait(2)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.