Scroll part of the screen

Questions & Answers about Helium Scraper 3
Post Reply
mix9
Posts: 1
Joined: Wed Mar 13, 2019 10:57 am

Scroll part of the screen

Post by mix9 » Wed Mar 13, 2019 11:16 am

Hello!

I can not solve this problem.
There is an area of the screen where data is loaded via Java Script. Data in this part appears as you scroll.

What should the script look like to do this?
The screenshot shows this block.


Main:

Code: Select all

Browser.Load
   ·  "https://erzrf.ru/novostroyki/7786477001?region=vse-regiony&regionKey=144004001&organizationId=10086435001&notInSale=true&phase=1&objectTypeKey=2877124001&objectTypeKey=179772001&costType=1&sortType=qrooms&buildObjectId=8705655001&gkId=7786477001"
Select.KvDownList
Browser.Click
Select.KvList
Browser.Click
Sequence.Take
   ·  150
   ·  InfiniteScroll
         ·  Select.ListItem
         ·  20
         ·  true
extract
   kvDescription
      Select.Link
   card__id
      Select.Card__id
   mainChildren
      MainChildren


MainChildren:

Code: Select all

Sequence.Take
   ·  150
   ·  InfiniteScroll
         ·  Select.ListItem
         ·  100
         ·  true
scr.PNG
scr.PNG (89.15 KiB) Viewed 11941 times

webmaster
Site Admin
Posts: 521
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Re: Scroll part of the screen

Post by webmaster » Wed Mar 13, 2019 4:05 pm

The InfiniteScroll action should work even if the scrollable area is not the whole page, but I see that you have one scroll loop after another. That would only make sense if you have one scrollable area inside another one, which I don't think is the case on this site. Can you send screenshots or the code of your KvDownList, KvList and ListItem selectors?
Juan Soldi
The Helium Scraper Team

Post Reply