#!/usr/bin/env python 
# -*- coding:utf-8 -*-

# import selenium
# import time
# from selenium import webdriver
# brower =webdriver.Chrome() #打开
#
# brower.get("http://baidu.com")  #打开一个网页
# print(brower.title) #查看打开网页的属性
#
# #print(brower.current_url) # 查看打开网页的URL
#
# #判断页面是否打开正确，可以用一下语句
# if '百度' in brower.title:
#     print("这是一个正确的网址")
# else:
#     print("请瞪大你的狗眼看清楚输入的是不是有问题！！！")
#
#
# #ele = brower.find_element_by_id("kw")  #查找元素
# #
# # print(id(ele))
# #
# # print(ele.clear())  #清除输入的元素
# qz = brower.find_element_by_name("wd")
#
# print(qz.send_keys("晴子"))  #发送元素
# #print(brower.back())  #返回上一页
#
# time.sleep(5)
#
#
#
#
# qz.clear()
#
# time.sleep(5)
#
# pl = brower.find_element_by_class_name('s_ipt')
#
#
#
# print(pl.send_keys('selenium'))
#
# time.sleep(15)

#brower.quit()  #关闭



