© Nikesh Devkota
I do not own Swag Labs. My attempt is to simply show my automation skills related to Selenium Python. It is strictly prohibited to misuse this repository in any way.
Before you can conitnue with the test, you should have a .env file for passing the email, password and other information for testing.
The tests used in this repo are created using Selenium Python and Pytest.
- Download Python if you don't intend to use docker containers.
- Clone the existing project from [Cross_Browser_Automation] (https://github.com/nikeshdevkota/Cross-Browser-Testing-Pytest) into a folder of your choice.
- Open up your terminal in your ide and cd into the the existing folder.
- type pip install -r requirements.txt. This will install all the dependencies you will need for the project.
- To run the test file, type pytest -n auto --html=report.html --self-contained-html test_buy_items_and_checkout.py