Using Text Search in Web page with Sikuli

Source: Internet
Author: User
Tags sikuli

How do I use Sikuli to find a specific string in the Web?

Principle:

We can use the combination CTRL + to enlarge the ratio of the page, so that the Sikuli OCR function to find more clear

In fact:

For I in range (4):    type ("+", Key_ctrl) which = input ()  # Let user type the string which user Want.print region (344, 178,124,501). Hover (which) MouseMove (Env.getmouselocation (). Offset ( -100,-100)) Print region (344,178,124,501). Text ( )

We can use the ' Create Region ' icon in the Sikuli IDE to get region (344,178,124,501).

Or Using SelectRegion () in the runtime gets the region (344,178,124,501).

Relative information: http://safx-dev.blogspot.tw/2013/04/sikulitips.html

Using Text Search in Web page with Sikuli

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.