pytest: fix missing py dependency
pytest: add selenium option, fix selenium build on darwin
Merge pull request #1005 from lovek323/pytest

pytest: fix `py` not found error, add selenium