Skip to content

louiske0911/pytest_selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest_selenium

The pytest and selenium E2E test framework

Usage

Build your environment

1. Install chrome with version 81 or 83

  1. For mac: Please refer to the chrome install url

2. Install python3 or use python venv to your machine

python3 -m venv pytest
source pytest/bin/activate

3. Install requirement python3 library

cd pytest_selenium
pip install -r requirements.txt

3. Run the pytest framework test case.

cd pytest_selenium
python3 -m pytest

For more command example:

  • Run test with test report file E.g.
python3 -m pytest --html=test.html
  • Run test with stdout log. E.g.
python3 -m pytest -s

Reference

About

The pytest and selenium E2E test framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages