Prepare Python environment and install selenium., pythonselenium
1. Install python and selenium.
I use python 3.5, the following is the example
1.) Python download: 3.5
Https://www.python.org/downloads/release/python-350/
At the end of the web site paper, Select: Windows x86 executable installer
2.) After we install python, we shoshould configure the environment variable.
Go to: Computer-> Properties-> Advanced system settings-> Advanced -- Environment Variables...-> System variables... Path-> Edit
C: \ ProgramData \ Oracle \ Java \ javapath; % SystemRoot % \ system32; % SystemRoot % \ System32 \ Wbem; % SYSTEMROOT % \ System32 \ WindowsPowerShell \ v1.0 \; c: \ Program Files (x86) \ Microsoft ASP. NET \ ASP. NET Web Pages \ v1.0 \; C: \ Users \ t_chenme \ AppData \ Local \ Programs \ Python \ Python35-32 \; C: \ Users \ t_chenme \ AppData \ Local \ Programs \ Python \ Python35-32 \ Scripts
2. Setuptools to install:
I use setuptools-18.4-py2.py3-none-any.whl (md5), it is for python 3.5
I download from https://pypi.python.org/pypi/setuptools#downloads
In cmd, go to the path, and execute:
Python ez_setup.py
3. Setup selenium:
In command type in: pip install selenium