diff --git a/.github/workflows/repro.yaml b/.github/workflows/repro.yaml index e7a6732..6439cda 100644 --- a/.github/workflows/repro.yaml +++ b/.github/workflows/repro.yaml @@ -17,7 +17,7 @@ jobs: - uses: browser-actions/setup-chrome@v1 id: setup-chrome with: - chrome-version: stable + chrome-version: 129.0.6668.89 install-chromedriver: true - name: Show installed Chrome version run: | diff --git a/repro.py b/repro.py index 273e816..e3d8f22 100644 --- a/repro.py +++ b/repro.py @@ -23,6 +23,8 @@ def setUpClass(cls): chrome_opts.add_argument('--headless') chrome_opts.add_argument('--disable-gpu') chrome_opts.add_argument('--verbose') + # Suggested in https://issues.chromium.org/issues/42323434#comment63 + chrome_opts.add_experimental_option('browserStartupTimeout', 1000000) cls.selenium = WebDriver(options=chrome_opts, service=Service(executable_path=chromedriver_binary, service_args=['--verbose'])) cls.selenium.implicitly_wait(10)