Java与PhantomJS等效吗? [英] What is the Java equivalent to PhantomJS?
本文介绍了Java与PhantomJS等效吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否有任何与PhantomJS等效的Java库.我要实现的是能够模拟表单登录并从网页提交操作,以及进行页面抓取.我知道jsoup可以进行页面抓取,但不能进行页面自动化.
I would like to know whether there is any Java library equivalent to PhantomJS. What I want to achieve is to be able to simulate form login and submit actions from a web page and also to do page scraping as well. I know jsoup does page scraping but not page automation.
提前谢谢!
干杯,亚历克斯
推荐答案
有一个用于Java的PhantomJS驱动程序,名为 GhostDriver .也许这符合您的要求?
There is a PhantomJS driver for Java called GhostDriver. Maybe this suits your requirements?
这篇关于Java与PhantomJS等效吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文