Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 786 Bytes

File metadata and controls

48 lines (31 loc) · 786 Bytes

Selenium Testing

Automated UI test suite using Selenium WebDriver and pytest. Built with the Page Object Model (POM) pattern.

Requirements

  • Python 3.8+
  • Chrome or Firefox browser

Installation

pip install -r requirements.txt

WebDriver binaries are managed automatically via webdriver-manager — no manual driver installation needed.

Configuration

Copy .env.example to .env:

cp .env.example .env

Edit .env to override any defaults

Running Tests

# Run all tests
pytest

# Run with verbose output
pytest -v

# Run a specific test file
pytest tests/test_login.py -v

# Run headless (no browser window)
pytest --headless

# Run with Firefox
pytest --browser=firefox

# Generate an HTML report
pytest --html=report.html