上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 31 下一页
摘要: 在封装读取剪贴板的时候,执行测试代码时遇到个错误: pywintypes.error: (1418, 'GetClipboardData', '\xcf\xdf\xb3\xcc\xc3\xbb\xd3\xd0\xb4\xf2\xbf\xaa\xb5\x 代码: 然后在网上查,是因为设置了剪贴板内容之 阅读全文
posted @ 2018-07-22 16:29 夏晓旭 阅读(1479) 评论(0) 推荐(0)
摘要: 最近搭框架用的openpyxl 2.5.4版本,之前封装的函数有些提示不推荐使用了,我做了一些更新: 代码: # encoding=utf-8 from openpyxl import load_workbookfrom openpyxl.styles import Border, Side, Fo 阅读全文
posted @ 2018-07-22 15:27 夏晓旭 阅读(429) 评论(0) 推荐(0)
摘要: 打开设置-->Editor-->File Encodings 阅读全文
posted @ 2018-07-21 15:24 夏晓旭 阅读(1331) 评论(0) 推荐(0)
摘要: 1-进入到geckodriver.exe文件的目录: 2-在路径栏下输入cmd: 3-命令行界面下输入:geckodriver.exe -h 可以看到文件的帮助信息,其中第一行就列出了版本号 为0.19.1 4-geckodriver驱动文件历史版本的下载链接: https://github.com 阅读全文
posted @ 2018-07-20 22:48 夏晓旭 阅读(11403) 评论(0) 推荐(0)
摘要: 试过很多的firefox浏览器版本和geckodriver的组合,有时候好用,有时候不好用,现在确定了一个好用的版本组合,记录一下: firefox:版本55,而且此版本可以用firebug geckodriver.exe版本号:0.19.1 阅读全文
posted @ 2018-07-20 22:41 夏晓旭 阅读(3287) 评论(0) 推荐(0)
摘要: C:\Python27\python.exe D:/test/hybrid_version2/TestScripts/TestScript.pystart browser...start browser done...access 126 mail login page...access 126 m 阅读全文
posted @ 2018-07-20 22:36 夏晓旭 阅读(631) 评论(0) 推荐(0)
摘要: http://ftp.mozilla.org/pub/firefox/releases/ 阅读全文
posted @ 2018-07-19 20:58 夏晓旭 阅读(1609) 评论(0) 推荐(0)
摘要: 在python中引入win32clipboard时报错,DLL load failed: %1 不是有效的 Win32 应用程序 >>> import win32clipboardTraceback (most recent call last): File "<stdin>", line 1, i 阅读全文
posted @ 2018-07-16 21:43 夏晓旭 阅读(2022) 评论(0) 推荐(0)
摘要: 安装行为驱动模块lettuce(卷心菜)模块 pip install lettuce Successfully installed argparse-1.4.0 colorama-0.3.9 extras-1.0.0 fixtures-3.0.0 funcsigs-1.0.2 fuzzywuzzy- 阅读全文
posted @ 2018-07-15 22:51 夏晓旭 阅读(2412) 评论(1) 推荐(0)
摘要: C:\Python27\Scripts>python task_test.pyTraceback (most recent call last): File "task_test.py", line 2, in <module> import unittest File "C:\Python27\l 阅读全文
posted @ 2018-07-14 14:39 夏晓旭 阅读(750) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 31 下一页