← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #658320]: compare two highcharts images doesn't work

 

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

jessica xu gave more information on the question:
        WebDriver driver = new FirefoxDriver();
        driver.get("https://www.highcharts.com/demo/line-basic";);
        Screen screen = new Screen();
        Pattern basic = new Pattern("/Users/jessicafei/Desktop/basic.PNG");
        Finder finder = new Finder(screen.capture());
        finder.findAll(basic);
        description(finder.hasNext()? "match found" : "no match");

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