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!
Please, let me know if I need to provide any additional information. Thanks!
I'm also interested in this problem.