Selenium with Python

操作环境

  • Chrome版本: 60.0.3112.101
  • ChromeDriver:2.31 (Supports Chrome v58-60)
  • IDE:Pycharm
  • Python:3.6.2
  • Selenium:3.5.0

环境安装

  1. 将ChromeDriver放入Chrome.exe所在路径


  2. 将ChromeDriver所在目录添加到系统Path中


  3. 安装Python,将Python路径添加到PATH选项打钩,点击Customiz installation


  4. 点击Next


  5. 将install for all users 打钩,然后点击安装


  6. Python安装后,将PyCharm安装好,点击File -> Settings


  7. 配置Python路径


  8. 点击箭头,更新setuptools


  9. 点击加号,再点击manage repositories


  10. 点击加号添加豆瓣pypi源


  11. 搜索selenium,注意选择豆瓣源,点击install package安装,至此环境就相关环境就安装好了


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容