Install in company Python+selenium Test environment , Because you can't connect to the Internet, you can't use pip Command to install , After many attempts, the installation finally succeeded , I would like to share with you the following summary , I also hope to learn and communicate with you about the problems encountered in automated web testing and discuss with you , I will also irregularly summarize the problems and solutions encountered in the production of test cases to you , Are original, welcome to pay attention to
The installation steps are as follows :
1、 install python-3.8.4.exe
2、 Configure environment variables path add to python Installation directory and python\Scripts Script execution directory
3、 install urllib3
cd C:\Python Erection sequence \urllib3-1.26.7 ( According to the actual installation package storage path )
python setup.py install
4、 install selenium
cd C:\Python Erection sequence \selenium-3.141.0 ( According to the actual installation package storage path )
python setup.py install
5、 open IDLE, Input import selenium Knock back , If no error is reported, the installation is successful
Welcome to exchange web automation test
2022 Index technology