Merge branch 'feature/check_email_validation'
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user