会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Owen_ET
我的Github地址:https://github.com/Owen-ET
博客园
首页
新随笔
联系
订阅
管理
2018年3月13日
【Selenium+Python Webdriver】报错之:TypeError: user_login() missing 1 required positional argument: 'self'
摘要: 先贴一下源码: base.py文件如下: loginPage.py文件如下: 运行时报错: TypeError: user_login() missing 1 required positional argument: 'self' 经查询是因为self丢失了要传递的参数。 解决方法如下: 一、定义
阅读全文
posted @ 2018-03-13 17:33 Owen_ET
阅读(9695)
评论(0)
推荐(1)
公告