diff --git a/django/test/selenium.py b/django/test/selenium.py index 4ef5015556..15ee3002ec 100644 --- a/django/test/selenium.py +++ b/django/test/selenium.py @@ -81,6 +81,10 @@ class SeleniumTestCaseBase(type(LiveServerTestCase)): def create_options(self): options = self.import_options(self.browser)() + if self.browser == "chrome": + # Disable Google Password Manager "Data Breach" alert pop-ups. + options.add_argument("--guest") + options.add_argument("--disable-infobars") if self.headless: match self.browser: case "chrome" | "edge":