替代HtmlUnit [英] Alternative to HtmlUnit

查看:171
本文介绍了替代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

这篇关于替代HtmlUnit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆