Create test cases by using Pytest to test webpages via selenium and generate a nice HTML report with screenshots
Download the chromdriver execution file and save it in the scripts folder:
http://chromedriver.chromium.org/
C:\Python36-32\Scripts
$ pip install pytest
$ pip install pytest-html
$ pip install selenium
Example: C:\SeleniumProject\Pytest_HTML_ScreenShot>py.test -s -v Test_Runner.py --html=Htmlreport.html