Windows build
Install Python
Download the Python installation package
Through www.python.org/downloads/p. Download from the official website – The Python installation package for Windows, Linux, and Mac (of your choice).
Download Python 3.6.6 to install it
Python installation
1. You have downloaded the Python 3.6.6 installation package. Double-click to install it.
2. Select Add Python to the PATH environment variable and select the default installation.
3. After the installation is complete, in the DOS command window, check whether Python is installed. Enter: python –version or python
4. If the Preceding Python version is displayed, the Python environment variable is successfully configured.
Install Selenium
1. Use the PIP command delivered with Python to install
Enter the command PIP install Selenium in a CMD command line (DOS) windowCopy the code
Install PyCharm
PyCharm is a Python IDE authing tool created by JetBrains. PyCharm comes with a full set of tools to help users improve their productivity while developing in Python, such as debugging, syntax highlighting, Project management, code jumps, smart hints, autocomplete, unit testing, and version control.
PyCharm is also a cross-platform IDE that can be downloaded for Windows, macOS and Linux.
1, first of all, from the website to download pycharm: click open links (link is: www.jetbrains.com/pycharm/dow… After entering the picture below, select according to the operating system of your computer. For Windows system, select the area in the red circle in the picture.
2. Install PyCharm– Double-click the downloaded EXE file to install PyCharm.
4. Install the Chrome driver
Download the driver version that is consistent with the Chrome version and place the downloaded driver directly under /python/scripts
Chromedriver driver download address: npm.taobao.org/mirrors/chr…