Menu

#2024 Page is not loaded completely (even using waitForBackgroundJavaScript)

2.36.0
open
nobody
None
5
2019-10-03
2019-09-20
No

The original question in StackOverflow https://stackoverflow.com/questions/57999500

The problem is that HtmlUnit cannot get the complete (after Javasript finishes) web page - lots of elements are missing in the result of getPage methot. I've tried different browsers (CHROME, FIREFOX_60, BEST_SUPPORTED) and such methods as waitForBackgroundJavaScript, waitForBackgroundJavaScriptStartingBefore, and even Thread.sleep.

It seems that embedded browser does not see the results of Javascript. What might be the reason and is there any way to solve it?

I would very much appreciate the answer for this question. Thank you in advance!

Discussion

  • Nick Kondratuk

    Nick Kondratuk - 2019-09-20

    Please, let me know if I need to provide any additional information. Thanks!

     
  • Dung Le

    Dung Le - 2019-09-20

    I'm also interested in this problem.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.