• Environment buiding


    一、Python

    1. Download and install the python2.7.13(Note: It's best not to install in the C driver):

    https://www.python.org/57

    2. Confiugre the Environment Variables:

    The path of python and python scripts

     二、Selenium

     1. open the cmd window, and enter the command to install the selenium2.53.6: pip install selenium==2.53.6

     2. Run the Selenium to validate

      >python

      >from selenium import webdriver

      >webdriver.Chrome()

    Note: You should download the chrome driver, and put it in the path of python.

    iedriver download:
    http://selenium-release.storage.googleapis.com/index.html

    chromedriver download:
    http://chromedriver.storage.googleapis.com/index.html

    三、Pycharm 

    1.Download path: http://www.jetbrains.com/pycharm/

    2. Software crack method(The third method):

    Refer to : http://www.cnblogs.com/yoyoketang/p/6115825.html

    1 from selenium import webdriver
    2 driver = webdriver.Ie()
    3 driver.get("http://www.baidu.com")

     

     

     

  • 相关阅读:
    Linux系统(Centos)下安装Java环境配置步骤详述
    Linux系统(Centos)下安装nodejs并配置环境
    js中!~什么意思
    java jmap
    java jstat
    java jps
    JVM-GC日志分析
    JVM垃圾回收
    JVM垃圾回收--年轻代、年老点和持久代
    auth_basic 认证
  • 原文地址:https://www.cnblogs.com/Lina-zhu/p/6757825.html
Copyright © 2020-2023  润新知