From f7cee4a487d454c141899fd63b57f2923139e7f1 Mon Sep 17 00:00:00 2001 From: Muntasib-creator Date: Tue, 3 Sep 2024 18:31:05 +0600 Subject: [PATCH] re add get_driver() --- .../Built_In_Automation/Web/Selenium/BuiltInFunctions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Framework/Built_In_Automation/Web/Selenium/BuiltInFunctions.py b/Framework/Built_In_Automation/Web/Selenium/BuiltInFunctions.py index 7a2b7fba..6f4f4543 100644 --- a/Framework/Built_In_Automation/Web/Selenium/BuiltInFunctions.py +++ b/Framework/Built_In_Automation/Web/Selenium/BuiltInFunctions.py @@ -127,7 +127,9 @@ else: raise ValueError("No dependency set - Cannot run") - +@logger +def get_driver(): + return selenium_driver @logger def find_exe_in_path(exe): """ Search the path for an executable """