Got error when trying to fill registration form using selenium:
def should_register_new_donor(self):
# проверка, что есть элементы в форме регистрации
PATIENT_IIN = self.browser.execute_script("document.getElementById('input_iin_id');")
sleep(3)
assert self.is_element_present(self, PATIENT_IIN), "No field for the Patient's IIN"
self.browser.find_element(self, PATIENT_IIN).send_keys("010101123456")
Got error when trying to fill registration form using selenium: