摘要: 设置pycharm运行环境 以下代码是在pycharm中运行的,虽然本地已经搭建了python+selenium环境,能在本地运行;但是在pycharm中运行时,要设置其解释器。 浏览器基本操作 阅读全文
posted @ 2018-05-17 12:13 小御 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 需要安装的软件 1.Python(mac自带Python 2.7的环境,所以无需安装) 环境搭配:selenium 2 + Firefox 46及以下版本兼容,selenium 3 + Firefox 47 + geckodriver 2.pip(专门安装python包的工具) 3.selenium 阅读全文
posted @ 2018-05-17 11:24 小御 阅读(786) 评论(0) 推荐(0) 编辑