Framework Mode - Getting element attributes
Folder Structure
project_root/
├── tests/
│ ├── test_login.py
│ ├── test_profile.py
│ └── test_attributes.py # Tests for element attributes
├── pages/
│ ├── base_page.py
│ ├── login_page.py
│ └── profile_page.py
├── utils/
│ ├── driver_factory.py
│ └── helpers.py # Utility functions like get_element_attribute
├── config/
│ ├── config.yaml
│ └── credentials.yaml
├── conftest.py # Pytest fixtures for setup/teardown
└── requirements.txt