BillBie

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

01 2019 档案

python 使用selenium下载文件时,chrome会提示是否下载多个文件(Download multiple files)
摘要:1.使用python+selenium+chrome 下载多个文件时,则会提示此提示语,不允许的话,则下载的文件不会被保存下来 2.则需要在启动chrome 的时候加上部分设置 options = webdriver.ChromeOptions() # options.add_argument('- 阅读全文

posted @ 2019-01-23 19:16 BillBie 阅读(181) 评论(0) 推荐(0) 编辑

【转载】[Jenkins] 批量删除构建历史
摘要:转载自:https://www.cnblogs.com/shaobin0604/p/9680621.html 在jenkins的 def jobName = "zjt_UIAutoTest" def maxNumber = 80 Jenkins.instance.getItemByFullName( 阅读全文

posted @ 2019-01-09 15:00 BillBie 阅读(14) 评论(0) 推荐(0) 编辑

【转载】python time和datetime的常用转换处理
摘要:转载自:https://www.cnblogs.com/lxmhhy/p/6030730.html time.strftime("%Y-%m-%d %H:%M:%S") datetime.datetime.strptime('%Y-%m-%d') %y 两位数的年份表示(00-99) %Y 四位数的 阅读全文

posted @ 2019-01-09 07:25 BillBie 阅读(14) 评论(0) 推荐(0) 编辑

windows批量删除进程
摘要:taskkill /F /IM chromedriver.exe 阅读全文

posted @ 2019-01-04 20:07 BillBie 阅读(11) 评论(0) 推荐(0) 编辑

【转载】安装tesseract 和tesserocr
摘要:参考的博客为: https://blog.csdn.net/wang_hugh/article/details/80760940 https://blog.csdn.net/u014179267/article/details/80908790 https://blog.csdn.net/u0101 阅读全文

posted @ 2019-01-04 20:02 BillBie 阅读(15) 评论(0) 推荐(0) 编辑

对于unittest中获取断言异常处理后再抛出
摘要:在开始需要注意的是 :断言失败了不会自动关闭浏览器! 1.断言如果失败为AssertionError,此时我在获取异常需写入数据 但是如果不抛出异常,则测试结果会表明为pass 的,所有需要再次抛出异常raise AssertionError(e) 或者:raise self.failureExce 阅读全文

posted @ 2019-01-03 16:41 BillBie 阅读(16) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示