Framework Mode - Fixtures for browser setup/teardown
Folder Structure
selenium-python-project/
├── tests/
│ ├── test_login.py
│ ├── test_search.py
│ └── conftest.py # Fixtures for setup/teardown
├── pages/
│ ├── login_page.py
│ └── search_page.py
├── utils/
│ └── helpers.py
├── config/
│ └── config.yaml # Environment and browser configs
├── reports/
│ └── test_report.html
├── requirements.txt
└── pytest.ini # Pytest configuration