用戶名函數(shù)封裝時(shí) 提示沒有'sendkeys'方法
def type_username(self,username):
? ? self.find_element(*self.username_loc).sendkeys(username)
sendkeys語法錯(cuò)誤障簿,應(yīng)為send_keys()
用戶名函數(shù)封裝時(shí) 提示沒有'sendkeys'方法
def type_username(self,username):
? ? self.find_element(*self.username_loc).sendkeys(username)
sendkeys語法錯(cuò)誤障簿,應(yīng)為send_keys()