Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.2 KB

File metadata and controls

51 lines (34 loc) · 1.2 KB

selenium-project/selenium-project/README.md

Selenium Project

This project is a basic setup for using Selenium to automate testing on the website Test Automation Practice.

Project Structure

selenium-project
├── src
│   ├── main.py          # Entry point for the Selenium project
│   └── tests
│       └── test_example.py  # Test cases for Selenium automation
├── requirements.txt     # Dependencies for the project
└── README.md            # Project documentation

Requirements

To run this project, you need to have Python installed along with the following dependencies:

  • Selenium

You can install the required dependencies using the following command:

pip install -r requirements.txt

Running the Project

  1. Clone the repository or download the project files.
  2. Navigate to the project directory.
  3. Run the main script to initialize the WebDriver and navigate to the specified URL:
python src/main.py

Running Tests

To execute the test cases, run the following command:

pytest src/tests/test_example.py

License

This project is open-source and available under the MIT License.