← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253901]: Cannot scroll the page due to Multiple scrollbars on same page.

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
- use any characteristic image outside the grid, but on the page

scrollPoint = find(characteristic_image)

wheel(scrollpoint, WHEEL_DOWN, wheelScrollValue)

wheel will move the mouse to the center of the match region scrollPoint

or use any other method, to calculate a valid scroll point on the page, but outside the grid.
… but everything should be relative to something evaluated at runtime (e.g. the browser window) - do not use absolute coordinates.
(exception: one can use ref=selectRegion() while testing)

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