This repository contains an automated test script built using Python and Selenium WebDriver. The script automates interactions with a demo website, extracting category and product details, simulating cart actions, and searching for items.
- Extracts category items from the website and counts occurrences
- Simulates scrolling and loading dynamic content
- Adds items to the cart and manipulates cart quantities
- Performs a search operation and captures search suggestions
- Takes screenshots of key interactions (cart page, search suggestions)
- Python 3.9.9
- Selenium WebDriver
- Chrome WebDriver (managed by webdriver_manager)
- Other dependencies listed in requirements.txt
- 
Install the necessary dependencies: pip install -r requirements.txt 
- 
Run the script: python main.py 
The script captures key interactions in the following screenshots:
- Cart_Page.png
- Removed_Cart.png
- Search_suggestions.png
This script is designed to work with the Zilly WordPress theme demo.