← Back to team overview

sikuli-driver team mailing list archive

[Question #223593]: Not able to scroll down page

 

New question #223593 on Sikuli:
https://answers.launchpad.net/sikuli/+question/223593

Hi, i am using win 7 and firefox, when i am trying to click a hyperlink which is visible only on scrolling down the page, script fails. I tried with Key.TAB also but it didt worked.

When i added setFindFailedResponse(PROMPT), it allows me to manually scroll the page and then click hyperlink works, please help me with solution for auto scroll of page.

openApp("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe")
type("WMozillaFire.png", "url"+ Key.ENTER)
wait(5)
type("Username.png", 'username'+ Key.TAB)
type("Password.png", 'password')            
click("SignIn.png");wait(2)
type(Key.PAGE_DOWN);wait(4)
click("hyperlink");wait(3)

Thanks,

monika

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