Python学习自动化遇到的问题,怎么回事啊
显示等待封装后,调用传入内容就报错了
```python
def EC_text(self, time1, args, text2):
WebDriverWait(self.wps, time1,).until(EC.text_to_be_present_in_element(args, text2))
if __name__ == '__main__':
F.EC_text(5, a7, '验证成功')
Python学习自动化遇到的问题,怎么回事啊
显示等待封装后,调用传入内容就报错了
```python
def EC_text(self, time1, args, text2):
WebDriverWait(self.wps, time1,).until(EC.text_to_be_present_in_element(args, text2))
if __name__ == '__main__':
F.EC_text(5, a7, '验证成功')