zoukankan      html  css  js  c++  java
  • 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")

     

     

     

  • 相关阅读:
    继承与组合关系
    sql decimal & float & celling 介绍
    EFDB 基本规范&知识
    html 5 video
    screen printing
    javascript array
    angular router ui bug !
    angular destroy & jquery destroy
    Google addword 策略
    规范 : angular ui router path & params
  • 原文地址:https://www.cnblogs.com/Lina-zhu/p/6757825.html
Copyright © 2011-2022 走看看