会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
职场人的思考
http://blog.sina.com.cn/u/1670354163
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
25
下一页
2015年4月21日
selenium--嵌套frame定位
摘要: 网页源码:案例1 :iframe有id、name属性网页上有3个frame:header、menu、main,分别代码顶部、左侧、右侧(其中menu、main在另外一个frameset中)如何定位到“header”框架:driver.switch_to_frame("header")如何定位到“ma...
阅读全文
posted @ 2015-04-21 14:38 职场人的思考
阅读(543)
评论(0)
推荐(0)
2015年4月16日
selenium IDE--录制和回放脚本
摘要: 1selenium IDE--录制脚本准备工作:firefox 浏览器安装了selenium IDE 插件实例:打开百度搜索“软件测试”firefox浏览器打开网址:https://www.baidu.com/点击浏览器插件【selenium】图标,弹出selenium IDE 录入界面,Base ...
阅读全文
posted @ 2015-04-16 16:30 职场人的思考
阅读(2362)
评论(0)
推荐(0)
2015年4月14日
python+selenium实战1-录入预发布股票信息
该文被密码保护。
阅读全文
posted @ 2015-04-14 16:03 职场人的思考
阅读(11)
评论(0)
推荐(0)
2015年3月30日
python+selenium浏览器调用(chrome、ie、firefox)
摘要: 代码:#coding=utf-8from selenium import webdriverdriver=webdriver.Chrome() #调用chrome浏览器driver.get('https://www.baidu.com')print driver.titledriver.quit(...
阅读全文
posted @ 2015-03-30 12:11 职场人的思考
阅读(25780)
评论(2)
推荐(1)
selenium使用IE 浏览器问题
摘要: 代码如下:#coding=utf-8from selenium import webdriverdriver=webdriver.Ie()driver.get('https://www.baidu.com')print driver.titledriver.quit()报错:Traceback (m...
阅读全文
posted @ 2015-03-30 11:49 职场人的思考
阅读(3745)
评论(0)
推荐(0)
2015年3月6日
python 格式化输出
摘要: 格式化输出:str.format()的用法for x in range(1,11): print('{0:2d} {1:3d} {2:4d}'.format(x, x*x,x*x*x))----------输出如下---------- 1 1 1 2 4 8 3 9 ...
阅读全文
posted @ 2015-03-06 11:08 职场人的思考
阅读(294)
评论(0)
推荐(0)
2015年3月5日
python 循环技巧
摘要: 原文地址:http://docs.pythontab.com/python/python3.4/datastructures.html#tut-tuples在字典中循环时,关键字和对应的值可以使用iteritems()方法同时解读出来。knights = {'gallahad': 'the pure...
阅读全文
posted @ 2015-03-05 15:53 职场人的思考
阅读(650)
评论(0)
推荐(0)
python 数据结构-字典
摘要: 原文地址:http://docs.pythontab.com/python/python3.4/datastructures.html#tut-tuples理解字典的最佳方式是把它看做无序的键:值对(key:value 对)集合,键必须是互不相同的(在同一个字典之内)。一对大括号创建一个空的字典:{...
阅读全文
posted @ 2015-03-05 15:25 职场人的思考
阅读(234)
评论(0)
推荐(0)
python 数据结构-集合set
摘要: 原文地址:http://docs.pythontab.com/python/python3.4/datastructures.html#tut-tuples集合是一个无序不重复元素的集。基本功能包括关系测试和消除重复元素。集合对象还支持 union(联合),intersection(交),diffe...
阅读全文
posted @ 2015-03-05 15:18 职场人的思考
阅读(289)
评论(0)
推荐(0)
python 数据结构-元组tuple
摘要: tuple0=() #空tuple1="wo", #元组中包括单个元素用,tuple2="monkey","cat","chickey" #可以不用()tuple3=("monkey","cat","chickey")
阅读全文
posted @ 2015-03-05 15:11 职场人的思考
阅读(176)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
25
下一页
公告