与 PhantomJS 等效的 Java 是什么?
我想知道是否有任何与 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?
相关文章