Merge branch 'feature/check_email_validation'

This commit is contained in:
2022-12-11 00:32:37 +01:00
11 changed files with 132 additions and 26 deletions
+4 -4
View File
@@ -226,14 +226,14 @@ class CommandorPage:
try:
if self.store_type == 0:
self.page.evaluate("""()=>{
//document.getElementById("phone_country").focus();
document.getElementById("phone_country").value = \"FR\" }""")
document.getElementById("phone_country").focus();
document.getElementById("phone_country").value = \"FR\"; }""")
else:
store_to_choose = self.store_map[self.store_type]
self.page.evaluate("""(store_to_choose)=>{
document.getElementById("prefer").value = store_to_choose;
//document.getElementById("phone_country").focus();
document.getElementById("phone_country").value = \"FR\" }""", store_to_choose)
document.getElementById("phone_country").focus();
document.getElementById("phone_country").value = \"FR\"; }""", store_to_choose)
except Exception as error:
self.logger.error(error)