as above. Does it load images?
By default: no.
- You have to use htmlImage.getImageReader()
- Or, you can use htmlPage.save()
Update: as of 2.25, you can use:
webClient.getOptions().setDownloadImages(true);
来源:https://stackoverflow.com/questions/3425697/does-htmlunit-load-images-when-it-browses-page