pytest-selenium will work with Python 3.6 and 2.7.
To install pytest-selenium using pip:
$ pip install pytest-selenium
To install from source:
$ python setup.py develop