ubuntu 安装phantomjs、chromedriver、geckodriver
2018-04-18 11:40
519 查看
一、安装phantomjs
1.从官网下载http://phantomjs.org/download.html
2.加压 tar -zxvf phantomjs-2.1.1-linux-x86_64.tar.bz2
3.mv phantomjs-2.1.1-linux-x86_64 /usr/local/share/phantomjs
4.链接到bin下:ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
5.配置环境变量:sudo vim /etc/profile 添加export PATH=${PATH}:/usr/local/bin/phantomjs
二、安装chromedriver
1.从http://chromedriver.storage.googleapis.com/index.html下载对应的版本
2.解压 unzip chromedriver_linux64.zip
3.然后移动到 /usr/local/bin下
三、安装geckodriver
1.从https://github.com/mozilla/geckodriver/releases下载 后面安装和chromedriver相同
1.从官网下载http://phantomjs.org/download.html
2.加压 tar -zxvf phantomjs-2.1.1-linux-x86_64.tar.bz2
3.mv phantomjs-2.1.1-linux-x86_64 /usr/local/share/phantomjs
4.链接到bin下:ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
5.配置环境变量:sudo vim /etc/profile 添加export PATH=${PATH}:/usr/local/bin/phantomjs
二、安装chromedriver
1.从http://chromedriver.storage.googleapis.com/index.html下载对应的版本
2.解压 unzip chromedriver_linux64.zip
3.然后移动到 /usr/local/bin下
三、安装geckodriver
1.从https://github.com/mozilla/geckodriver/releases下载 后面安装和chromedriver相同
相关文章推荐
- ubuntu下安装selenium以及chromedriver、geckodriver和phantomjs等驱动
- ubuntu下安装seleunim和ChromeDriver
- linux 安装 chromedriver (Ubuntu linaro 安装 chromium-chromedriver)sudo apt-get install chromium-chromedr
- weex 执行 npm install 时,chromedriver 和 phantomjs 安装失败的解决方法
- mac 上安装selenium, phantomjs 和 chromedriver
- python+ubuntu+selenium安装chrome和chromedriver
- linux环境 安装chromedriver 和 phantomjs的方法
- 爬虫工具:虚拟机Selenium和PhantomJS,ChromeDriver 镜像安装教程
- phantomjs 和 chromedriver 安装配置
- Ubuntu16.04 Selenium+python 环境搭建 Chromedriver安装
- ubuntu安装ChromeDriver
- ubuntu14.04 mongodb c++ driver安装
- Ubuntu安装Chrome最新版
- Ubuntu安装phantomjs
- ubuntu安装chrome
- ubuntu 14.04 chrome 安装flash问题
- 在 Ubuntu 16.04 中安装谷歌 Chrome 浏览器
- Ubuntu下安装Chrome的方法分享
- Debian/Ubuntu 安装chrome