
selenium
小京haha
好好读书,好好生活!
展开
-
selenium中'WebElement' object is not iterable报错问题
checkbox.html源码: 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 ...原创 2017-08-18 13:59:47 · 10862 阅读 · 0 评论 -
python+selenium+eclipse问题排查(一)
帮我解决了遇到的第三个问题 1、 test_login (login.Login) ... ERROR WebDriverException: Message: 'IEDriver executable needs to beavailable in the path. Please download fromhttp://code.google.com/p/selenium/downloads...原创 2017-08-18 13:47:45 · 287 阅读 · 0 评论 -
python+selenium中火狐浏览器无法启动问题
1、selenium中火狐浏览器(版本为47.0)无法正常启动,启动firefox浏览器会停止运行,是因为火狐浏览器版本太高,导致selenium和其浏览器版本不兼容引起的,一般情况都是selenium中调用的各个DRIVER版本低于浏览器的版本引起; 解决办法:将火狐浏览器安装较低版本,安装到37.0版本,就可完美的解决问题啦!原创 2017-08-18 13:57:56 · 3487 阅读 · 0 评论 -
Selenium+pyhon中发送邮件遇到的问题排查
运行环境:pyhton2.7 1、【报错】 user = 'XXXXXX@qq.com' password = 'XXXXX' smtp = smtplib.SMTP() smtp.connect(smtp_server) smtp.login(user,password) 运行都此行代码smtp.login(user,password)报错提示验证失败: smt...原创 2017-08-18 14:06:31 · 1660 阅读 · 0 评论 -
selenium+python 中遇到的编解码问题
运行环境python2.7 执行到此行代码:assert alert_test == "已经记录下您的使用偏好",'test error' 【报错】 UnicodeWarning: Unicode equalcomparison failed to convert both arguments to Unicode -interpreting them as being unequal 错...原创 2017-08-18 14:02:10 · 2262 阅读 · 0 评论