Selenium自動化測試(Python+VS2013)-基礎篇-環境安裝

Python+VS2013環境安裝

http://www.cnblogs.com/aehyok/p/3986168.html

 

PTVS:

http://microsoft.github.io/PTVS/

 

Python:

https://www.python.org/downloads/release/python-344/

 

Python下安裝Selenium

運行-->cmd

切換到pip目錄(C:\Python34\Scripts)

cd C:\Python34\Scripts

pip install -U selenium

或者下載

https://pypi.python.org/packages/source/s/selenium/selenium-2.52.0.tar.gz

解壓後放入C:\Python34\Lib\site-packages

 

 

 

VS中直接建立PythonAppliction的專案類型即可

https://pypi.python.org/pypi/selenium

 

posted on 2016-02-24 10:51  chen110xi  阅读(276)  评论(0编辑  收藏  举报