From 893aea21cc29c870040eaf2ff2ef94852d9e59b7 Mon Sep 17 00:00:00 2001 From: Sen ZmaKi Date: Sat, 29 Jun 2024 14:52:56 +0300 Subject: [PATCH] Debug --- .github/workflows/test.yml | 2 -- senpwai/common/selenium.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7eabb9b..a8c8601 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,8 +43,6 @@ jobs: - name: Install chrome uses: browser-actions/setup-chrome@v1 id: setup-chrome - with: - install-chromedriver: true - run: | ${{ steps.setup-chrome.outputs.chrome-path }} --version ${{ steps.setup-chrome.outputs.chromedriver-path }} --version diff --git a/senpwai/common/selenium.py b/senpwai/common/selenium.py index 055a675..0ae0724 100644 --- a/senpwai/common/selenium.py +++ b/senpwai/common/selenium.py @@ -87,8 +87,6 @@ def helper(browser_name: BrowserName): options = cast(EdgeOptions, setup_options(EdgeOptions())) self.driver = Edge(service=service_edge, options=options) case BrowserName.chrome: - chrome_driver_path = os.getenv("CHROME_DRIVER_PATH", None) - print("Chrome driver path:", chrome_driver_path) service_chrome = ChromeService( ) options = cast(ChromeOptions, setup_options(ChromeOptions()))