且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在PhantomJS中使用jQuery DOM选择器语法?

更新时间:2023-11-03 10:21:28

使用page.injectJs('jquery-1.6.1.min.js');它会正常工作.

Use page.injectJs('jquery-1.6.1.min.js'); it will work fine.

这是在phantomjs中使用jquery的漂亮链接

here is a beautiful link for using jquery in phantomjs http://snippets.aktagon.com/snippets/534-how-to-scrape-web-pages-with-phantomjs-and-jquery