替代HtmlUnit

问题描述:

到目前为止,我一直在研究可用的无头浏览器,并发现HtmlUnit被广泛使用.与HtmlUnit相比,我们是否可以替代HtmlUnit?

I have been researching about the headless browsers available till to date and found HtmlUnit being used pretty extensively. Do we have any alternative to HtmlUnit with possible advantage compared to HtmlUnit?

谢谢 内恩

我将在本用例中使用Selenium,因为它使我可以使用真实的浏览器,并且与实际的浏览器相比不会产生任何偏差.到HtmlUnit. 我计划使用Selenium2,它具有WebDriver集成功能,并提供出色的API和很酷的修复程序. 谢谢 内恩

I am going to use Selenium for my use case, since it offers me to use the real browser and no deviation from what it would render in real world as compared to HtmlUnit. I am planning to use Selenium2 which has WebDriver integration and offers great API and cool fixes. Thanks Nayn