Closed rickywesker closed 2 years ago
================================= 开始填报出校备案 选择出校/入校 Done 选择校区 Done 填写邮箱 Done 填写手机号 Done habitation, district, street, capture, path, wechat, argconf.SENDKEY) File "/home/runner/work/PKUAutoSubmit_online/PKUAutoSubmit_online/func.py", line 298, in run fill_out(driver, campus, mail_address, phone_number, reason, detail, destination, track) File "/home/runner/work/PKUAutoSubmit_online/PKUAutoSubmit_online/func.py", line 198, in fill_out write_reason(driver, reason) File "/home/runner/work/PKUAutoSubmit_online/PKUAutoSubmit_online/func.py", line 105, in write_reason (By.XPATH, f'//li/span[text()="{reason}"]'))) File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/selenium/webdriver/support/wait.py", line 89, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:
fetch之后还是报错x
出入校事由选项填错了x
================================= 开始填报出校备案 选择出校/入校 Done 选择校区 Done 填写邮箱 Done 填写手机号 Done habitation, district, street, capture, path, wechat, argconf.SENDKEY) File "/home/runner/work/PKUAutoSubmit_online/PKUAutoSubmit_online/func.py", line 298, in run fill_out(driver, campus, mail_address, phone_number, reason, detail, destination, track) File "/home/runner/work/PKUAutoSubmit_online/PKUAutoSubmit_online/func.py", line 198, in fill_out write_reason(driver, reason) File "/home/runner/work/PKUAutoSubmit_online/PKUAutoSubmit_online/func.py", line 105, in write_reason (By.XPATH, f'//li/span[text()="{reason}"]'))) File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/selenium/webdriver/support/wait.py", line 89, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:
fetch之后还是报错x