Refs #29892 -- Replaced Selenium .submit() shim with .click() on the submit button.
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py
index 32f065b325ea1..f854f4dc207d7 100644
--- a/tests/admin_widgets/tests.py
+++ b/tests/admin_widgets/tests.py
@@ -941,7 +941,7 @@ def test_date_time_picker_shortcuts(self):
 
         # Submit the form.
         with self.wait_page_loaded():
-            self.selenium.find_element_by_tag_name('form').submit()
+            self.selenium.find_element_by_name('_save').click()
 
         # Make sure that "now" in javascript is within 10 seconds
         # from "now" on the server side.

There is no WebDriver submit primitive. The Selenium project implements
it as a convenience only. The geckodriver developers recommend against
using it. Replace it with a real primitive, click on the submit button.

Fixes failing Seleninum test test_date_time_picker_shortcuts when using
the Firefox Selenium driver.

https://code.djangoproject.com/ticket/29892