Add the option to generate a SeleniumBase Dashboard
The --dashboard
option for pytest generates a SeleniumBase Dashboard located at dashboard.html
, which updates automatically as tests run and produce results.
Additionally, you can host your own SeleniumBase Dashboard Server on a port of your choice. Here's an example of that using Python 3's http.server
:
python -m http.server 1948
Now you can navigate to http://localhost:1948/dashboard.html
in order to view the served dashboard from a web browser. (Be sure to run that command in the same directory where you ran your tests.)
Here's a full example of what the SeleniumBase Dashboard may look like:
pytest test_suite.py --dashboard --rs --headless
Also update Python dependencies
pip>=20.3.3
packaging>=20.8
wheel>=0.36.2
chardet==4.0.0
requests==2.25.1
py==1.10.0
pytest==6.2.1
pytest-xdist==2.2.0
soupsieve==2.1
cryptography==3.3.1
pyopenssl==20.0.1
rich==9.4.0