self.driver = webdriver.Chrome(chrome_options=self.__chrome_options,
executable_path=self.__path_for_browser_driver)
self.driver.implicitly_wait(10) # seconds
self.driver.get(self.__url)
self.driver.find_element_by_id('username').send_keys(self.__username)
self.driver.find_element_by_id ('password').send_keys(self.__password)
self.driver.find_element_by_xpath(self.__login_button_xpath).click()
self.driver.find_element_by_id('ReportBugFormModal_title').send_keys('Test')
收到以下错误 -
selenium.common.exceptions.StaleElementReferenceException:消息:陈旧元素引用:元素未附加到页面文档
请帮我解决这个问题。谢谢