Re: [Sikuli-driver] [Question #271257]: I am not finding the right solution for my code
Question #271257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271257 Status: Open => Answered Eugene Maslov proposed the following answer: Try setting Settings.MinSimilarity=0.99 or 1.0 at the beginning of your script. Probably there are two similar animals on your page. I use Sikuli 1.1.0 from sikulix.com , but the version unlikely affect in this case. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #271257]: I am not finding the right solution for my code
Question #271257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271257 Eugene Maslov proposed the following answer: Try also highlighting to see the details. And wait(1) after page-down will help avoiding confusions if the browser scrolls the site smoothly and the image is captured during scrolling. notFound=True while not exists("PrivacyPolic.png"): #bottom of the page type(Key.PAGE_DOWN) wait(1) target=exists("Albatross.png",0) if target: #in order to locate an image target.highlight(2) popup("Hurray!") notFound = False break if notFound: popup("OMG") -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #271257]: I am not finding the right solution for my code
Question #271257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271257 saryu confirmed that the question is solved: Thanks Eugene Maslov, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #271257]: I am not finding the right solution for my code
Question #271257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271257 Eugene Maslov posted a new comment: Really tried my code??? There are no page-downs in it. The output is 27 lines "[log] TYPE "#DOWN."", then "Hurray" box appears when "Create bug report" link appears at the bottom. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #271257]: I am not finding the right solution for my code
Question #271257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271257 Status: Answered => Open saryu is still having a problem: No.. On Execution I am able to see only one page down printed even if the Createbugrep.png (in your example) is present in the end of the page. (4 page downs/iterations expected in the while loop). Please check again. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #271257]: I am not finding the right solution for my code
Question #271257 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271257 Status: Open => Answered Eugene Maslov proposed the following answer: A trick promoting web sites? It works on my Chrome without problems on the page of this question , I just unindented the last if. notFound=True while not exists("Takethetour-2.png"): #bottom of the page type(Key.DOWN) if exists("Createbugrep.png"): #in order to locate an image popup("Hurray!") notFound = False break if notFound: popup("OMG") -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp