ElementScroll Issues

Hi there,

I'm using the ElementScroll on a particular portion of the page ("scrollElementSelector":"#optiscroll1 > div"). While it seems to be interacting with the correct page element, I see two issues:

  1. it only scrolls down partially, and not to the very end before proceeding

  2. it only returns the data from the first element in the scroll range.

Any help would be appreciated!

Url: https://www.buzzbuzzhome.com/ca/map#OXw0OS41MzI1Nzk2fC0xMjIuNjc3MjcwMnxmZWF0fHxTb2xkfHx8fHx8fHwxK3x8fHwxfDE0MDYx

Sitemap:
{"_id":"bbsold","startUrl":["https://www.buzzbuzzhome.com/ca/map#OXw0OS41NDE0OTE3fC0xMjIuNTgzODg2NHxmZWF0fHxTb2xkfHx8fHx8fHwxK3x8fHwxfDE0MDYx"],"selectors":[{"id":"scroll","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"li:nth-of-type(1) a.card","multiple":true,"delay":"2000","scrollElementSelector":"#optiscroll1 > div"},{"id":"linkselector","type":"SelectorLink","parentSelectors":["scroll"],"selector":"parent","multiple":true,"delay":0},{"id":"address","type":"SelectorText","parentSelectors":["linkselector"],"selector":"div.address-wrapper","multiple":false,"regex":"","delay":0}]}

This type of website is tricky because it is divided into sections. You will need to use an undocumented method to make the scroller work on the correct section. Martins describes the method in this posting. You need to add an additional selector line, "scrollElementSelector", which will not be visible in the Web Scraper tab.

You can try the sitemap below. I used Page load delay: 7000

{"_id":"forum-buzzbuzzhome","startUrl":["https://www.buzzbuzzhome.com/ca/map#OXw0OS41MzI1Nzk2fC0xMjIuNjc3MjcwMnxmZWF0fHxTb2xkfHx8fHx8fHwxK3x8fHwxfDE0MDYx"],"selectors":[{"id":"Property Wrappers","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"div.results > ul[data-bind] > li[data-bind]","multiple":true,"delay":"5000","scrollElementSelector":"div[id='optiscroll1'] > div.optiscroll-content"},{"id":"Name","type":"SelectorText","parentSelectors":["Property Wrappers"],"selector":"div.name","multiple":false,"regex":"","delay":0},{"id":"Build type","type":"SelectorText","parentSelectors":["Property Wrappers"],"selector":"div.build","multiple":false,"regex":"","delay":0},{"id":"Status","type":"SelectorText","parentSelectors":["Property Wrappers"],"selector":"div> div.movein","multiple":false,"regex":"","delay":0},{"id":"Link","type":"SelectorLink","parentSelectors":["Property Wrappers"],"selector":"a.card","multiple":false,"delay":0}]}