I'm quite unsure why pytest-parallel don't work with pytest-selenium (pip install pytest-selenium). I've heard Selenium is not thread safe, but according to documentation, pytest-parallel do some work to make it thread safe.
Tested with:
Python 3.7, Debian 9, pytest-selenium, pytest, and pytest-parallel
run with: python -m pytest --driver Firefox --driver-path ./geckodriver --tests-per-worker auto --workers auto
I'm quite unsure why pytest-parallel don't work with pytest-selenium (
pip install pytest-selenium
). I've heard Selenium is not thread safe, but according to documentation, pytest-parallel do some work to make it thread safe.Tested with:
Python 3.7, Debian 9, pytest-selenium, pytest, and pytest-parallel
python -m pytest --driver Firefox --driver-path ./geckodriver --tests-per-worker auto --workers auto