'Код войдет в черную доску ученика, однако всякий раз, когда я пытаюсь перейти на сайт, он выдает эту ошибку'
#===================================================================Logging In Student Portal======================================================================
def logging_in_student_portal():
student_no = '********'
#student_pass = getpass("Enter your pass")
student_pass = '***********'
driver = webdriver.Chrome("C:\\Users\\HP\\Downloads\\chromedriver_win32 (1)\\chromedriver.exe")
driver.get("https://student.uwc.ac.za/default.aspx?screen=WR010")
username_textbox = driver.find_element_by_id("CEWFR_RNDR1_eaISTDNUM")
username_textbox.send_keys(student_no)
sa_ID_Number_button = driver.find_element_by_name("CEWFR_RNDR1$eaIIDIND")
sa_ID_Number_button.click()
password_textbox = driver.find_element_by_id("CEWFR_RNDR1_eaIIDNUMBER")
password_textbox.send_keys(student_pass)
submit_button = driver.find_element_by_id("CEWFR_RNDR1_eaBTNSUBMITun1")
submit_button.click()
student_portal_login = logging_in_student_portal()
#logging_in_student_portal()
#====================================================================Getting The Time Tabele=======================================================================
def scrape_Time_Table(student_portal_login):
driver = webdriver.Chrome("C:\\Users\\HP\\Downloads\\chromedriver_win32 (1)\\chromedriver.exe")
#driver.get("https://student.uwc.ac.za/default.aspx?screen=WR010")
academic_calendar_button = driver.find_element_by_id('CEWFR_RNDR1_eaBTNTIMETABun1')
academic_calendar_button.click()
scrape_Time_Table(student_portal_login)