This project demonstrates an automated end-to-end testing workflow for an e-commerce platform using Python and Selenium WebDriver.
The script automates a specific user journey on the Automation Exercise website. It handles dynamic challenges such as Google Ads, overlays, and asynchronous page loading using Explicit Waits.
- Navigate to the website.
- Handle and close initial advertisement overlays.
- Navigate to the Home page via the navbar.
- Filter products by the Polo brand.
- Add the Premium Polo T-Shirt to the cart.
- Verify the "Added" popup and navigate to the View Cart page.
- Proceed to the Checkout page.
- Language: Python
- Automation Tool: Selenium WebDriver
- Driver Management: Webdriver Manager (Chrome)
- IDE: VS Code
Before running the script, ensure you have Python installed and the following libraries:
pip install selenium webdriver-manager