会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
柯末末
博客园
首页
新随笔
联系
订阅
管理
2020年10月22日
python+selenium: * 传递参数报错:TypeError: __init__() takes 2 positional arguments but 3 were given
摘要: 在UI自动化测试的脚本学习中,判断页面元素是否存在: def test_case_001(self): .... #ele_exist = EC.presence_of_element_located(*self.location_djbh) #执行报错,传递三个参数 ele_exist = EC.
阅读全文
posted @ 2020-10-22 17:26 柯末末
阅读(1230)
评论(0)
推荐(0)
公告