diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 7b40de57e7..195d933d33 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -296,7 +296,7 @@ dependencies: `_ * `gettext `_ (:ref:`gettext_on_windows`) -* :pypi:`selenium` +* :pypi:`selenium` 3.8.0+ * :pypi:`sqlparse` 0.3.1+ (required) * :pypi:`tblib` 1.5.0+ diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index b9a48360b2..325fcf9c53 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1035,7 +1035,7 @@ First of all, you need to install the :pypi:`selenium` package: .. console:: - $ python -m pip install selenium + $ python -m pip install "selenium >= 3.8.0" Then, add a ``LiveServerTestCase``-based test to your app's tests module (for example: ``myapp/tests.py``). For this example, we'll assume you're using diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt index 3cc35b8c61..d812acbece 100644 --- a/tests/requirements/py3.txt +++ b/tests/requirements/py3.txt @@ -14,7 +14,7 @@ pymemcache >= 3.4.0 pywatchman; sys.platform != 'win32' PyYAML redis >= 3.4.0 -selenium +selenium >= 3.8.0 sqlparse >= 0.3.1 tblib >= 1.5.0 tzdata