diff --git a/choreographer/browsers/chromium.py b/choreographer/browsers/chromium.py index 28236a43..f297d7fe 100644 --- a/choreographer/browsers/chromium.py +++ b/choreographer/browsers/chromium.py @@ -195,6 +195,7 @@ def get_cli(self) -> Sequence[str]: "--disable-dev-shm-usage", "--disable-background-networking", "--disable-background-timer-throttling", + "--disable-backgrounding-occluded-windows", "--disable-component-update", "--disable-default-apps", "--disable-extensions", @@ -211,7 +212,6 @@ def get_cli(self) -> Sequence[str]: "--disable-print-preview", "--disable-speech-api", "--mute-audio", - "--single-process", "--no-default-browser-check", "--no-pings", "--disable-features=Translate,BackForwardCache,AcceptCHFrame,MediaRouter,OptimizationHints,AudioServiceOutOfProcess,IsolateOrigins,site-per-process", diff --git a/choreographer/utils/_tmpfile.py b/choreographer/utils/_tmpfile.py index bb9a32f5..23a46f11 100644 --- a/choreographer/utils/_tmpfile.py +++ b/choreographer/utils/_tmpfile.py @@ -193,7 +193,7 @@ def extra_clean() -> None: _logger.info(f"Extra manual clean executing {i}.") self._delete_manually(quiet=True) i += 1 - time.sleep(2) + time.sleep(10) if self.path.exists(): self._delete_manually(quiet=False) diff --git a/tests/conftest.py b/tests/conftest.py index ee8388e3..d57b34fc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -89,7 +89,7 @@ async def wrapped_test_fn(*args, **kwargs): def pytest_configure(): # change this by command line TODO - pytest.default_timeout = 20 + pytest.default_timeout = 60 # pytest shuts down its capture before logging/threads finish