Scroll window until element is loaded in page using selenium/javascript

I need to select a image which appears on scrolling down a page. Set of images loads on hitting bottom of page and further scrolling down loads another set of images.

I tried using scroll(), scrollBy() and Actions method but none is responding. But using scrollIntoView() method alone scrolls the page. since the image i needed to select appears only after loading on scroll is completed, i couldn’t use scrollIntoView() here . Please note scroll window im trying is inside iframe and div tag.

girinath Default Asked on November 18, 2016 in Selenium WebDriver.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.