try:
self.driver.find_element(*LogInLocators.submit_btn).send_keys(Keys.ENTER)
except StaleElementReferenceException as msg:
print("unable to locate element submit_btn%s", msg)
print("relocate element submit_btn")
self.driver.find_element(*LogInLocators.submit_btn).send_keys(Keys.ENTER)
 posted on 2021-05-07 20:53  zennpumpkin  阅读(64)  评论(0编辑  收藏  举报