- 博客(6)
- 收藏
- 关注
转载 find_element
from selenium import webdriverdriver = webdriver.Chrome()#前提,在当前页面当中,不管用哪种定位方式,一定要是唯一的#八种定位方式:#id、#name、#class_name、#input3(tag_name、link_text、partial_link_text)、#xpath、css#iddriver.find_element_...
2018-08-10 18:07:00
169
转载 python基本语法003
# 模块,导包,引用# importprint("import ...-----------")import time#print(help(time))print(time.ctime())# from ... import ...print("from ... import ...-----------")from time import ctime,sleep#print(help...
2018-07-31 18:10:00
74
转载 python基本语法002
# 函数:不创建类的情况下定义一个语句体print("def函数----------------------------")def add(a,b): return a + bc = add("3","5")print(c)def add(a=1,b=1): return a + bc = add()print(c)# 函数,对a传参def add(a=1,b=1): ...
2018-07-31 14:34:00
74
转载 python基本语法001
print("Hello World")s = "tom"i = "22"print("name:" + s + ",age:" + i)ss = "tom"ii = 22print("name:" + ss + ",age:" +str(ii) )print("name:%s,age:%d" %(ss,ii))print("name:{s},age:{i}".format(s=ss,i...
2018-07-27 19:14:00
93
转载 python+selenium安装
python+selenium安装python下载地址:https:www.python.org安装完成进入cmd,输入python如果cmd找不到,需要添加环境变量selenium安装地址:https://pypi.org添加环境变量python/Scriptshttps://pypi.org/project/selenium/pip=pyth...
2018-07-24 17:59:00
57
转载 selenium介绍
selenium1.0 =IDE+grid+RCselenium IDE firefox浏览器插件selenium grid 分布式selenium RC Remote Control 远程控制,selenium的核心工作原理:python (selenium api)---->selenium server.jarselenium 2.0...
2018-07-23 10:27:00
83
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人