From: EricWong <ykw...@ya...> - 2017-07-10 14:28:43
|
<http://htmlunit.10904.n7.nabble.com/file/n42303/ECMWF.png> Hello. I try to load a page by HtmlUnit: https://www.ecmwf.int/en/forecasts/charts/catalogue/medium-mslp-wind850?time=2017070900,0,2017070900&projection=classical_europe (It is a page of a major meteorological agency in Europe) I try to get the complete html content by "HtmlPage.asXml()". However, the image tag: img class="chart-image" id="map_1_image" src="..." cannot be loaded even waiting for a period of time. The whole page can be loaded successfully by both Chrome and Firefox. The attached screen shows the page loaded by Chrome with F12 panel. This page does not require any user click. Just type the URL and wait for the ajax to load is OK. (Please subsituted the YYYYMMDD component of the URL with the previous day for test if necessary. E.g. if today is 15 Jul 2017, please use 20170714) May I know how the page can be loaded completely by Htmlunit? Thanks. -- View this message in context: http://htmlunit.10904.n7.nabble.com/Failing-to-load-the-complete-html-content-of-a-page-with-ajax-tp42303.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |