How siddhibirje/selenium-ecommerce-automation works
This is a small Selenium page-object automation project for exercising SauceDemo login and purchase flows. The visible page model exposes login, inventory/cart, and checkout controls; shared page and element abstractions drive browser interactions. The test file is present in the tree but was not excerpted, so its calls and the precise end-to-end sequence cannot be verified. The graph therefore shows only source-supported relationships and leaves test-to-runtime wiring unasserted.
Main entry points: base_element.py Element interactions · locator.py Locator tuple · saucedemo_page.py Login controls · base_page.py Base page navigation
Components 10
Purchase scenario
- Login and purchase test
login_and_purchase_test.py
Page objects
- Login controls
pages/saucedemo_page.py - Inventory and cart
pages/saucedemo_page.py - Checkout controls
pages/saucedemo_page.py
Browser support
- Base page navigation
pages/base_page.py - Chrome driver setup
pages/drivers.py - Element interactions
pages/base_element.py - Locator tuple
pages/locator.py
Other components
- SauceDemo site
- Selenium WebDriver
Connections 9
- Login controls → Locator tuple: creates locators
pages/saucedemo_page.py - Login controls → Element interactions: wraps controls
pages/saucedemo_page.py - Inventory and cart → Locator tuple: creates locators
pages/saucedemo_page.py - Inventory and cart → Element interactions: wraps controls
pages/saucedemo_page.py - Checkout controls → Locator tuple: creates locators
pages/saucedemo_page.py - Checkout controls → Element interactions: wraps controls
pages/saucedemo_page.py - Base page navigation → SauceDemo site: navigates to
pages/base_page.py - Chrome driver setup → Selenium WebDriver: creates browser
pages/drivers.py - Element interactions → Selenium WebDriver: waits and interacts
pages/base_element.py