会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lh459384111
博客园
首页
新随笔
联系
管理
订阅
2018年2月23日
解决网页元素无法定位(NoSuchElementException: Unable to locate element)的几种方法
摘要: 出错原因 1.可能元素加载未完成 元素加载没完成,同样的路径定位,每次测试结果确是不一样的,有时候抛出错误,有时候正常!这就比较蛋疼了,也就是说,和你的定位方法半毛钱关系没有,而很大程度上取决于你的电脑和网速! 1.解决方案A:添加两行代码 1 2 WebDriverWait(driver,10)的
阅读全文
posted @ 2018-02-23 09:03 lh459384111
阅读(576)
评论(0)
推荐(0)
2018年1月20日
【selenium学习笔记】webdriver进行页面元素定位
摘要: 【selenium学习笔记】webdriver进行页面元素定位 进行Web页面自动化测试,对页面上的元素进行定位和操作是核心。而操作又是以定位为前提的,因此,对页面元素的定位是进行自动化测试的基础。 页面上的元素就像人一样,有各种属性,比如元素名字,元素id,元素属性(class属性,name属性)
阅读全文
posted @ 2018-01-20 20:00 lh459384111
阅读(230)
评论(0)
推荐(0)
2017年11月22日
思维导图制作软件/网站
摘要: 思维导图制作软件/网站 XMind思维导图软件:http://www.xmindchina.net/(软件) Mindjet思维导图软件:http://www.mindmanager.cc/(软件) FreeMind思维导图:http://freemind.en.softonic.com/(软件)
阅读全文
posted @ 2017-11-22 09:17 lh459384111
阅读(237)
评论(0)
推荐(1)
网络数据采集工具
摘要: 网络数据采集工具 八爪鱼:http://www.bazhuayu.com/ 火车采集器:http://www.locoy.com/ 其他数据网 媒体微博排行榜:http://v6.bang.weibo.com/xmt 新媒体排行榜:http://www.newrank.cn/ 友盟:http://w
阅读全文
posted @ 2017-11-22 09:16 lh459384111
阅读(350)
评论(0)
推荐(0)
互联网趋势分析工具
摘要: 互联网趋势分析工具 百度指数:http://index.baidu.com/ 好搜指数:http://index.so.com/#index 阿里指数:https://alizs.taobao.com/ 艾瑞咨询:http://www.iresearch.com.cn/ 友盟指数:http://ww
阅读全文
posted @ 2017-11-22 09:15 lh459384111
阅读(251)
评论(0)
推荐(0)
词云可视化工具
摘要: 词云可视化工具 Tagul:https://tagul.com/ Tagxedo:http://www.tagxedo.com/ Wordle:http://www.wordle.net/ WordItOut:http://worditout.com/ ToCloud:http://www.tocl
阅读全文
posted @ 2017-11-22 09:14 lh459384111
阅读(179)
评论(0)
推荐(0)
数据可视化工具
摘要: 数据可视化工具 Tableau:http://www.tableau.com/zh-cn Infogr.am:https://infogr.am/ Easel.ly:https://www.easel.ly/ Color Brewer:http://colorbrewer2.org/ iCharts
阅读全文
posted @ 2017-11-22 09:13 lh459384111
阅读(150)
评论(1)
推荐(0)
2017年10月31日
词频写入excel
摘要: #!/usr/bin/python # -*- coding:utf-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8') import jieba import jieba.analyse import xlwt #写入Excel
阅读全文
posted @ 2017-10-31 08:18 lh459384111
阅读(447)
评论(0)
推荐(0)
2017年10月23日
2017-10-23-2
摘要: # -*- coding utf-8 -*-import requestsimport matplotlib.pyplot as pltfrom wordcloud import WordCloudimport jiebaimport sysprint sys.getdefaultencoding(
阅读全文
posted @ 2017-10-23 18:03 lh459384111
阅读(143)
评论(0)
推荐(0)
词云图
摘要: # -*- coding utf-8 -*- import matplotlib.pyplot as plt from wordcloud import WordCloud import jieba text_from_file_with_apath =open('D:\python\ciyun.t
阅读全文
posted @ 2017-10-23 13:17 lh459384111
阅读(159)
评论(0)
推荐(0)
下一页
公告