send email event there is an error

This commit is contained in:
2022-05-07 00:44:24 +02:00
parent 8878413ed2
commit 09c7d681df
2 changed files with 12 additions and 4 deletions
+1
View File
@@ -242,6 +242,7 @@ class CommandorPage:
document.getElementById("name").value = name.firstName}""", {'lastName': lastName, 'firstName': firstName})
def getErrors(self):
items = self.page.query_selector("div.alert")
if items:
print(items.inner_html())