[Selenium3+python3.6]自动化测试1安装

参考文档: http://www.cnblogs.com/yoyoketang/p/6123890.html

安装环境: win7+Py3.6 +FF45 (ESR version) +selenium 3.3.1 + geckodriver.exe

    1. install py36, config PATH

    2. install get-pip.py,dowload geckodriver.exe,copy to <C:\Python36\Scripts>, config PATH

    3. refer to https://pypi.python.org/pypi/selenium,https://github.com/mozilla/geckodriver/releases

    4.  In python shell:

      >>> from selenium import webdriver
      >>> webdriver.Firefox()
      <selenium.webdriver.firefox.webdriver.WebDriver (session="ee6182e0-b3b1-4968-848
      0-498ced5de154")>

原文地址:https://www.cnblogs.com/carol2000/p/6564696.html