← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #147347]: Select text on a page

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
the sequence has to be:

click(Image)
wait(1) # always a good idea with mouse actions (0.3 - 0.5 might be sufficient)
mouseDown(Button.LEFT)
for i in range(100): # insert your needed value
   wheel(WHEEL_DOWN,10)
mouseUp()

If this does not work, you could try to use combination
keyDown(Key.SHIFT)
click(<some-intelligent-location-at-end-of-doc>)
keyUp()
after having wheeled down to end of doc.

even a ctrl/cmd-a (select all might be worth a try.

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