← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #154519]: Comparing html pages

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--1. the only workaround is to scroll down and capture the lower parts
separately. To synchronize this, you have to use some "landmarks" on the
page. If the page does not use the whole screen (normally today you have
a page width of about 960 to 1100), it could be helpful to restrict the
whole process to the browser window.

--2. if you want to work with getBounds(), it is .x, .y, .width, .height that you have to use, but you might use
SCREEN.x
SCREEN.y
SCREEN.w
SCREEN.h
as well (looks easier ;-)

BTW: any operation that addresses the default Screen(0) (represented by
the constant reference SCREEN), can be used without using SCREEN.xxxxx.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.