I especially like to build the environment under the CentOS. At present, mainly responsible for the company's product testing. Therefore, it is necessary to study how selenium automated testing is built on CentOS. Of course, selenium can also be installed in Windows, this aspect of the tutorial online more will not say. But based on Linux, especially CentOS-based articles, there are a few installation tutorials on the Web are based on Ubuntu, and Python version, selenium version is relatively old.
I've installed the latest version of this one.
First look at the system version of my virtual machine
Cat/etc/issue
(My virtual machine is minimized installed)
The installation procedure is also relatively simple
Download get-pip.py
wget https://bootstrap.pypa.io/get-pip.py
Looking at the Python version, CentOS comes with the python2.6.6 version, and I've upgraded it to 2.7.10, which is currently the latest version.
Python-v
Install PIP. Find the get-pip.py you just downloaded
Python get-pip.py
If you do not install Setuptools, it will be installed, see
After the PIP installation is successful, you can use it to install selenium.
Pip Install-u Selenium
Below is a screenshot of the entire selenium installation process. It seems to be relatively simple.
Linux Environment Installation Tutorial--centos6.6 installation Selenium