0.0.3
This commit is contained in:
@@ -319,7 +319,6 @@ class Auto:
|
|||||||
self.tab.ele('t:input@id=signatureMinor').input(child_full_name)
|
self.tab.ele('t:input@id=signatureMinor').input(child_full_name)
|
||||||
self.tab.wait(0.1)
|
self.tab.wait(0.1)
|
||||||
self.tab.ele('t:input@id=signatureParentGuardian').input(parent_full_name)
|
self.tab.ele('t:input@id=signatureParentGuardian').input(parent_full_name)
|
||||||
self.solve_recaptcha()
|
|
||||||
|
|
||||||
return self.submit_file(
|
return self.submit_file(
|
||||||
child_full_name=child_full_name,
|
child_full_name=child_full_name,
|
||||||
@@ -336,6 +335,7 @@ class Auto:
|
|||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"填写问卷失败: {e}")
|
logger.error(f"填写问卷失败: {e}")
|
||||||
|
return False
|
||||||
|
|
||||||
# 提交问卷
|
# 提交问卷
|
||||||
def submit_file(self, child_full_name: str, parent_full_name: str, child_birthday: str, address_str: str, city_name: str, parent_phone: str, postcode: str, province: str, email: str, text: str):
|
def submit_file(self, child_full_name: str, parent_full_name: str, child_birthday: str, address_str: str, city_name: str, parent_phone: str, postcode: str, province: str, email: str, text: str):
|
||||||
|
|||||||
Reference in New Issue
Block a user