• @xdlhy
    def find_toast(u'密码错误,请重新输入',5,1,self.driver):
    element = WebDriverWait(driver,timeout,poll_frequency).until(expected_conditions.presence_of_element_located((By.PARTIAL_LINK_TEXT,message))) 你的这个用不了呢
    def find_toast(u'密码错误,请重新输入',5,1,self.driver):
    ^
    SyntaxError: invalid syntax
    [Finished in 0.2s with exit code 1]