Skip to content

rmrazeen/Python_Selenium_Essential_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium-python

Step 1: Clone the project

Open Terminal:

git clone git@github.com:Ehasn-testlab/selenium-python.git

Step 2: Create and Activate a Virtual Environment

python3 -m venv venv
source venv/bin/activate

Step 3: Install Selenium and WebDriver Manager

pip install selenium webdriver-manager

Step 4: Install pytest and pytest html

pip install pytest
pip install pytest-html
pip install pytest-dependency
pip install pytest-order

Step 5: Run the Script

In Terminal: To run a specific file

pytest <file_name> --html=reports/report.html --self-contained-html

In Terminal: To run a all testcases

pytest --html=reports/report.html --self-contained-html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages