stopped selenium at end

This commit is contained in:
2025-06-12 19:10:59 +05:30
parent b683260ea1
commit 20431a268f

View File

@@ -323,6 +323,12 @@ class AutomationMassHealth:
"message": str(e), "message": str(e),
} }
finally:
if self.driver:
self.driver.quit()
AutomationMassHealth.last_instance = None
def main_workflow_upto_step2(self, url): def main_workflow_upto_step2(self, url):
self.config_driver() self.config_driver()
print("Reaching Site :", url) print("Reaching Site :", url)