I am trying to capture/automate mouse scrolling event in selenium IDE. Like in Facebook friend list page, we have to scroll to the end to list all friends.
I want to
Selenium RC :
selenium.getEval("window.scrollBy(x,y)");
Selenium IDE :
storeEval | selenium.browserbot.getCurrentWindow().scrollTo(x,y)
UPDATED:
storeEval
selenium.browserbot.getCurrentWindow().scrollTo(100,800)
waitForPageToLoad
10000
storeEval
selenium.browserbot.getCurrentWindow().scrollTo(200,1600)
waitForPageToLoad
10000
storeEval
selenium.browserbot.getCurrentWindow().scrollTo(300,2400)
This will scroll the window to 3 different coordinates.