From 4d268415479bc4338efc96f5e74997abf0877e01 Mon Sep 17 00:00:00 2001 From: Shashidhar B Date: Fri, 8 Nov 2024 23:27:27 +0530 Subject: [PATCH] Update mcp.py --- moneycontrolPy/mcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moneycontrolPy/mcp.py b/moneycontrolPy/mcp.py index b7ea7f3..a52e4de 100644 --- a/moneycontrolPy/mcp.py +++ b/moneycontrolPy/mcp.py @@ -53,7 +53,7 @@ def _init_driver(self, WEB_DRIVER_PATH): options.add_argument("--incognito") if self.BROWSER_VIEW is False: options.add_argument("--headless") - driver = webdriver.Chrome(WEB_DRIVER_PATH, options=options) + driver = webdriver.Chrome(executable_path=WEB_DRIVER_PATH, options=options) return driver