We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d946ad commit e47cfd8Copy full SHA for e47cfd8
dash/testing/browser.py
@@ -485,6 +485,17 @@ def _get_chrome(self):
485
if "DASH_TEST_CHROMEPATH" in os.environ:
486
options.binary_location = os.environ["DASH_TEST_CHROMEPATH"]
487
488
+ options.add_experimental_option(
489
+ "prefs",
490
+ {
491
+ "download.default_directory": self.download_path,
492
+ "download.prompt_for_download": False,
493
+ "download.directory_upgrade": True,
494
+ "safebrowsing.enabled": False,
495
+ "safebrowsing.disable_download_protection": True,
496
+ },
497
+ )
498
+
499
options.add_argument("--disable-dev-shm-usage")
500
options.add_argument("--no-sandbox")
501
options.add_argument("--disable-gpu")
0 commit comments