摘要: 出错原因 1.可能元素加载未完成 元素加载没完成,同样的路径定位,每次测试结果确是不一样的,有时候抛出错误,有时候正常!这就比较蛋疼了,也就是说,和你的定位方法半毛钱关系没有,而很大程度上取决于你的电脑和网速! 1.解决方案A:添加两行代码 1 2 WebDriverWait(driver,10)的 阅读全文
posted @ 2018-02-23 09:03 lh459384111 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 【selenium学习笔记】webdriver进行页面元素定位 进行Web页面自动化测试,对页面上的元素进行定位和操作是核心。而操作又是以定位为前提的,因此,对页面元素的定位是进行自动化测试的基础。 页面上的元素就像人一样,有各种属性,比如元素名字,元素id,元素属性(class属性,name属性) 阅读全文
posted @ 2018-01-20 20:00 lh459384111 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 思维导图制作软件/网站 XMind思维导图软件:http://www.xmindchina.net/(软件) Mindjet思维导图软件:http://www.mindmanager.cc/(软件) FreeMind思维导图:http://freemind.en.softonic.com/(软件) 阅读全文
posted @ 2017-11-22 09:17 lh459384111 阅读(225) 评论(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 阅读(326) 评论(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 阅读(240) 评论(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 阅读(167) 评论(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 阅读(142) 评论(1) 推荐(0) 编辑
摘要: #!/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 阅读(437) 评论(0) 推荐(0) 编辑
摘要: # -*- coding utf-8 -*-import requestsimport matplotlib.pyplot as pltfrom wordcloud import WordCloudimport jiebaimport sysprint sys.getdefaultencoding( 阅读全文
posted @ 2017-10-23 18:03 lh459384111 阅读(132) 评论(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 阅读(152) 评论(0) 推荐(0) 编辑