Fixed #30220 -- Added support for headless mode in selenium tests.

This commit is contained in:
Johannes Hoppe 2019-02-26 17:23:49 +01:00 committed by Mariusz Felisiak
parent e286987a27
commit 8d010f3986
4 changed files with 27 additions and 1 deletions

View file

@ -230,6 +230,9 @@ See the `selenium.webdriver`_ package for the list of available browsers.
Specifying ``--selenium`` automatically sets ``--tags=selenium`` to run only
the tests that require selenium.
Some browsers (e.g. Chrome or Firefox) support headless testing, which can be
faster and more stable. Add the ``--headless`` option to enable this mode.
.. _selenium.webdriver: https://github.com/SeleniumHQ/selenium/tree/master/py/selenium/webdriver
.. _running-unit-tests-dependencies: