首页 > Web开发 > 详细

selenium(webdriver)验证

时间:2016-12-27 14:08:36      阅读:247      评论:0      收藏:0      [点我收藏+]

import os,time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
chromedriver = ‘C:\Program Files (x86)\GoogleChromePortable\App\Chrome-bin\chromedriver.exe‘
options = webdriver.ChromeOptions()
options.add_argument(‘--ignore-certificate-errors‘)
driver = webdriver.Chrome(executable_path=chromedriver,chrome_options=options)
driver.get(‘https://192.168.200.31/‘)

selenium(webdriver)验证

原文:http://www.cnblogs.com/raomuxun/p/6225412.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!