diff --git a/commandor_page.py b/commandor_page.py index f7a608b..921f3ea 100644 --- a/commandor_page.py +++ b/commandor_page.py @@ -88,7 +88,7 @@ class CommandorPage: document.getElementById("name").value = name.firstName}""", {'lastName': lastName, 'firstName': firstName}) def getErrors(self): - items = self.page.query_selector(".alert") + items = self.page.query_selector("div.alert") if items: print(items.inner_html()) @@ -128,8 +128,8 @@ def launch_page() -> threading.Event: "username": "panleicim-cc-fr-sid-179112", "password": "M3PZAXgW5V27" } - contact = ContactPojo(phone_number="+33751177505", passport_number="9933251119", last_name="Chen", first_name="Fan", - mail="lei_chena09@outlook.com", ccid="", position=0) + contact = ContactPojo(phone_number="+33758321759", passport_number="9533251119", last_name="Cheng", first_name="Fan", + mail="checn.fan@outlook.com", ccid="", position=0) page = CommandorPage() return page.start_page(proxy, contact)