编程开源技术交流,分享技术与知识

网站首页 > 开源技术 正文

ubuntu16.04安装phantomJs问题(ubuntu16安装python3.8)

wxchong 2024-09-03 02:15:45 开源技术 10 ℃ 0 评论

直接apt-get install phantomjs 会安装不全

可能会报错

Message: Error - Unable to load Atom 'find_element' from file ':/ghostdriver/./third_party/webdriver-atoms/find_element.js'

解决方法,卸载后,wget安装

1. apt purge phantomjs
2. wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
3. tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2
4. cp phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表