fayizkc
6 years agoOccasional Contributor
How to load all contents of a div in a web page for lazy loading
I am automating my web application with xpath. I have some line items <li> under a <div>. This div has scroll bar. i have muliple items in the div. It will load completely only when i scrol to end (Lazy loading). How can I scroll down in the div or how can load all items in div by Jscript.
I tried .setfocus on last loaded. It is showing as not supported
I tired Sys.HighlightObject that also not supporting
Also tried scrollIntoView(true). it is scrolling only the window scroll not div scroll.
Can you please help me to resolve this