Installation

Requirements

  • pytest >= 7.0.0

  • pytest-html >= 4.0.0

  • pytest-metadata >= 3.0.0

  • pyyaml >= 5.3.1

  • selenium >= 4.11.0

Installing pytest-selenium-auto

$ pip install pytest-selenium-auto

WARNING /!\

pytest-selenium-auto and pytest-playwright are incompatible
as both plugins register the --browser command-line option.

If you need to work with both plugins, you should install them in separate python virtual environments.

Same warning applies for any other plugin that registers the same command-line options
used by pytest-selenium-auto (ex: --browser, --headless, --screenshots, etc).

Support for older pytest-html versions

If pytest-html <= 3.2.0

$ pip install pytest-selenium-auto==1.2.1