Skip to content

How to solve the problem with lazy load? #313

Description

@zhenxi1023

Hi, I got a new problem.
I accessed this link: https://www.bestbuy.com/site/searchpage.jsp?st=TV&_dyncharset=UTF-8&_dynSessConf=&id=pcat17071&type=page&sc=Global&cp=1&nrp=&sp=&qp=&list=n&af=true&iht=y&usc=All+Categories&ks=960&keys=keys
I found this page has lazy load for some elements. In Chrome, I scroll to bottom slowly, they loaded. And if I use js code like this: window.scrollTo(0, document.documentElement.scrollHeight);
Nothing to work. So I think, this page, use this rule:
If the elements in the view? Yes, load it. Or without loading.
I want to ask you for help, how could I use HtmlUnit to get informations in the lazy loaded elements?
Thanks

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions