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