facebook php-webdriver 安装与使用
2017-02-10 15:57
567 查看
由于工作需要,最近研究了face php-webdriver ,然而由于资料文档比较少,一开始也是遇到不少问题,还好最后都顺利解决了。
nodejs 安装请看教程 https://yq.aliyun.com/articles/44435
1.Google Chrome 39 Released – Install on RHEL/CentOS 7/6 and Fedora 20-15
2.How to install Google Chrome 28+ on RHEL/CentOS 6 or 7
http://blog.csdn.net/xds2ml/article/details/52982748
工具:
1.下载facebok php-webdrever 代码 https://github.com/facebook/php-webdriver
2.下载 jar 包 http://selenium-release.storage.googleapis.com/index.html
3.下载 chromedriver http://npm.taobao.org/mirrors/chromedriver/2.9/
4.安装 yum firefox
5. 安装Xvfb
yum update
yum install Xvfb
yum -install libXfont
yum install xorg-x11-fonts*
6.运行
1, nohup Xvfb -ac :7 -screen 0 1280x1024x8 > /dev/null 2>&1 &
2, export DISPLAY=:7
3, java -jar selenium-server-standalone-3.0.1.jar
4.结束nohup 进程
ps -ef | grep command
kill -9 pid
nodejs 安装请看教程 https://yq.aliyun.com/articles/44435
1.Google Chrome 39 Released – Install on RHEL/CentOS 7/6 and Fedora 20-15
2.How to install Google Chrome 28+ on RHEL/CentOS 6 or 7
http://blog.csdn.net/xds2ml/article/details/52982748
工具:
1.下载facebok php-webdrever 代码 https://github.com/facebook/php-webdriver
2.下载 jar 包 http://selenium-release.storage.googleapis.com/index.html
3.下载 chromedriver http://npm.taobao.org/mirrors/chromedriver/2.9/
4.安装 yum firefox
5. 安装Xvfb
yum update
yum install Xvfb
yum -install libXfont
yum install xorg-x11-fonts*
6.运行
1, nohup Xvfb -ac :7 -screen 0 1280x1024x8 > /dev/null 2>&1 &
2, export DISPLAY=:7
3, java -jar selenium-server-standalone-3.0.1.jar
4.结束nohup 进程
ps -ef | grep command
kill -9 pid
相关文章推荐
- Selenium2(webdriver)入门之TestNG的安装与简单使用
- TestNG 安装及使用入门(webDriver+java环境)
- 使用Webdriver+TestNG,设置FireFox安装路径。
- PHPSH:Facebook开发的PHP Shell的安装与使用[转载]
- 安装selenium使用webdriver出现的问题
- iOS远程真机之WebDriverAgent 安装使用完全指南
- facebook工具xhprof的安装与使用-分析php执行性能
- 手把手教你在centos下编译安装配置高性能web服务器环境nginx+php(fast-cgi)+mysql等/适合小内存vps使用
- PHPSH:Facebook开发的PHP Shell的安装与使用[转载]
- facebook工具xhprof的安装与使用-分析php执行性能
- Selenium2(webdriver)入门之TestNG的安装与简单使用
- 手把手教你在centos下编译安装配置高性能web服务器环境nginx+php(fast-cgi)+mysql等/适合小内存vps使用
- PHPSH:Facebook开发的PHP Shell的安装与使用
- (二)用swift4写iOS微信跳一跳的自动跳(开挂)程序——WebDriverAgent的安装与使用
- 构建WEB服务器的三大组件安装apache2+php5+mysql5
- PHP所开发的WEB服务器PHPlet在Windows下的安装
- 邮件服务器WinWebMail 3.7.1.1 企业版安装/注册机使用方法
- memcached安装+php使用手记
- 下载和在VS.NET 2003安装IEWebControls组件实现TreeView控件使用
- 如何使用动态共享对象的模式来安装PHP