codetest-selenium
Automation scripts in python
下载Chrome webdriver
http://chromedriver.storage.googleapis.com/index.html
查看selenium 版本号
pip show selenium
查看python 版本号
python -V
PS C:\Users\QD291NB\Downloads\codetest-selenium> pip list Package Version
async-generator 1.10 attrs 21.4.0 Automat 20.2.0 baidu-aip 4.15.14 certifi 2021.10.8 cffi 1.15.0 chardet 4.0.0 charset-normalizer 2.0.12 constantly 15.1.0 cryptography 36.0.1 cssselect 1.1.0 et-xmlfile 1.1.0 h11 0.13.0 h2 3.2.0 hpack 3.0.0 hyperframe 5.2.0 hyperlink 21.0.0 idna 3.3 incremental 21.3.0 itemadapter 0.4.0 itemloaders 1.0.4 jmespath 0.10.0 lxml 4.8.0 openpyxl 3.0.9 outcome 1.1.0 parsel 1.6.0 pip 21.2.4 priority 1.3.0 Protego 0.2.1 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycparser 2.21 PyDispatcher 2.0.5 pyOpenSSL 22.0.0 PySocks 1.7.1 queuelib 1.6.2 requests 2.27.1 Scrapy 2.5.1 selenium 4.1.2 service-identity 21.1.0 setuptools 58.1.0 six 1.16.0 sniffio 1.2.0 sortedcontainers 2.4.0 trio 0.20.0 trio-websocket 0.9.2 Twisted 22.1.0 twisted-iocpsupport 1.0.2 typing_extensions 4.1.1 urllib3 1.26.8 w3lib 1.22.0 wsproto 1.0.0 zope.interface 5.4.0
EXE打包: pyinstaller "C:\Users\QD291NB\PycharmProjects\setests\main.spec"