用户名函数封装时 提示没有'sendkeys'方法
def type_username(self,username):
self.find_element(*self.username_loc).sendkeys(username)
sendkeys语法错误,应为send_keys()
用户名函数封装时 提示没有'sendkeys'方法
def type_username(self,username):
self.find_element(*self.username_loc).sendkeys(username)
sendkeys语法错误,应为send_keys()