← Back to team overview

sikuli-driver team mailing list archive

[Question #272349]: Sikuli is returning false when comparing image to that on screen

 

New question #272349 on Sikuli:
https://answers.launchpad.net/sikuli/+question/272349

I was able to compare png images to the screen till a couple of weeks back but suddenly the same piece of code is returning false, what could have gone wrong? I am using Sikuli4net. I have this code -
           APILauncher launcher = new APILauncher(true);
            launcher.Start();
            var  webDriver = new ChromeDriver();

            webDriver.Navigate().GoToUrl("https://www.google.com/?gws_rd=ssl";);
            Pattern pattern = new Pattern("google.png");
           
            Screen screen = new Screen();
            var t = screen.Exists(pattern);
           launcher.Stop();



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