Framework Mode - XPath with contains and starts-with
Folder Structure
selenium_python_project/
├── src/
│ ├── pages/
│ │ └── login_page.py # Page Object classes with XPath locators
│ ├── tests/
│ │ └── test_login.py # Test cases using page objects
│ ├── utils/
│ │ └── helpers.py # Utility functions (e.g., wait helpers)
│ └── config/
│ └── config.yaml # Environment and browser settings
├── requirements.txt # Python dependencies
├── pytest.ini # Pytest configuration
└── conftest.py # Fixtures for setup/teardown