Try to use watir-scroll <https://github.com/p0deje/watir-scroll/> - it 
might help you.

On Friday, December 20, 2013 4:53:20 PM UTC+7, Anisha wrote:
>
> Hi,
>
> I am using watir-webdriver. The application that I am testing has infinite 
> scrolling implemented. It is more or less like 1000 results present but 
> dis[played 10 at a time and next 10 results appear on scrolling the page, 
> so how do I test if infinite scrolling works or not on my web application.
> I tried the following code:
> @browser.execute_script("window.scrollTo(0,1500)")
> sleep 5
>
> But I do not see any movement on the browser. And also, how do I assert 
> that infinite scrolling is working properly.
>
> -- 
> Regards,
> Anisha Narang
>  

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to