diff --git a/lib/src/chrome.dart b/lib/src/chrome.dart index b8524bb..8ee14f0 100644 --- a/lib/src/chrome.dart +++ b/lib/src/chrome.dart @@ -114,6 +114,10 @@ class Chrome { '--disable-default-apps', '--disable-translate', '--start-maximized', + // When running on MacOS, Chrome may open system dialogs requesting + // credentials. This uses a mock keychain to avoid that dialog from + // blocking. + '--use-mock-keychain', ]; if (headless) { args.add('--headless');