Page 1 of 1

Scroll part of the screen

Posted: Wed Mar 13, 2019 11:16 am
by mix9
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 5987 times

Re: Scroll part of the screen

Posted: Wed Mar 13, 2019 4:05 pm
by webmaster
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?