{"id":30770363,"url":"https://github.com/imswappy/ecommerce-automation","last_synced_at":"2026-05-14T20:33:09.125Z","repository":{"id":312337455,"uuid":"1047177759","full_name":"Imswappy/ecommerce-automation","owner":"Imswappy","description":"End-to-end e-commerce website automation using Selenium and Python. Automates browsing, product selection, adding to cart, checkout as guest, and order confirmation on a demo store. Includes screenshots, dynamic inputs, and real-world UI interactions.","archived":false,"fork":false,"pushed_at":"2025-08-29T21:50:01.000Z","size":503,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T23:33:55.184Z","etag":null,"topics":["automation","python","selenium-python","selenium-webdriver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Imswappy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-29T21:47:33.000Z","updated_at":"2025-08-29T21:53:22.000Z","dependencies_parsed_at":"2025-08-29T23:34:02.569Z","dependency_job_id":"76f6abd5-fb97-4994-befe-6771ca68b7ef","html_url":"https://github.com/Imswappy/ecommerce-automation","commit_stats":null,"previous_names":["imswappy/ecommerce-automation"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Imswappy/ecommerce-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imswappy%2Fecommerce-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imswappy%2Fecommerce-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imswappy%2Fecommerce-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imswappy%2Fecommerce-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Imswappy","download_url":"https://codeload.github.com/Imswappy/ecommerce-automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imswappy%2Fecommerce-automation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273685604,"owners_count":25149722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","python","selenium-python","selenium-webdriver"],"created_at":"2025-09-04T23:04:12.084Z","updated_at":"2026-05-14T20:33:09.084Z","avatar_url":"https://github.com/Imswappy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛒 E-Commerce Website Automation using Selenium \u0026 Python\n\n## 📌 Overview\nThis project is an **end-to-end automation script** for an e-commerce demo website built using **Selenium WebDriver with Python**.  \nThe script simulates a **real customer journey** on [TutorialsNinja E-commerce Demo](http://tutorialsninja.com/demo/):\n\n- Browsing product categories (Phones, Laptops \u0026 Notebooks)  \n- Viewing product images and saving screenshots  \n- Adding multiple products to the cart  \n- Filling checkout form as a **guest user**  \n- Completing the checkout process  \n- Printing the final order price and success message  \n\nThis project is based on the tutorial: *E-Commerce Website Automation with Selenium + Python*.  \n\n---\n\n## 🛠️ Tech Stack\n- **Python 3.x**  \n- **Selenium WebDriver**  \n- **Google Chrome** + **ChromeDriver**  \n- **ActionChains \u0026 Select** (Selenium APIs for advanced interactions)  \n\n---\n\n## 📂 Project Structure\n```\nECOMMERCE-AUTOMATION/\n│\n├── automate.py     # Main automation script\n├── screenshots/        # Folder to save captured screenshots\n└── README.md\n```\n\n---\n\n## 🚀 Setup \u0026 Installation\n\n### 1️⃣ Clone the Repository\n```bash\ngit clone https://github.com/your-username/Ecom-Automation.git\ncd Ecom-Automation\n```\n\n### 2️⃣ Install Selenium\n```\n```\n### 3️⃣ Download ChromeDriver\n- Download the correct version of **ChromeDriver** matching your Google Chrome browser:  \n  👉 https://chromedriver.chromium.org/downloads  \n- Place it in a folder (e.g., `C:/bin/chromedriver.exe`) and update the script path accordingly.\n\n---\n\n## ▶️ Run the Script\n```bash\npython automate.py\n```\n\n---\n\n## 📸 Features Demonstrated\n- Open website and maximize window  \n- Navigate through categories (Phones, Laptops \u0026 Notebooks)  \n- Open product details and browse images  \n- Capture and save **randomized screenshots**  \n- Add products with custom **quantity selection**  \n- Select delivery date using **calendar widget**  \n- Add products to cart and proceed to checkout  \n- Enter guest details (name, email, address, etc.)  \n- Agree to terms and confirm order  \n- Print **final price** and **order success message**  \n\n\u003cimg width=\"943\" height=\"924\" alt=\"ecom_1\" src=\"https://github.com/user-attachments/assets/7caa76f0-2973-4cb0-b744-de564889eb78\" /\u003e\n\u003cimg width=\"1049\" height=\"909\" alt=\"ecom_2\" src=\"https://github.com/user-attachments/assets/b87ffe79-227d-440b-81ec-216dc43e8010\" /\u003e\n\u003cimg width=\"1044\" height=\"908\" alt=\"ecom_3\" src=\"https://github.com/user-attachments/assets/c019168b-6495-4e91-a382-5270e00b2ca4\" /\u003e\n\n\n\n---\n\n## 🧾 Example Output\n```\nThe final price of both products is $241.00\nYour order has been placed!\n```\n\n---\n\n## 📌 Notes\n- This script is designed for **educational/demo purposes** on the [TutorialsNinja](http://tutorialsninja.com/demo/) site.  \n- The website and data reset periodically, so values (like product availability or prices) may vary.  \n- Screenshots are saved in the working directory by default.  \n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimswappy%2Fecommerce-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimswappy%2Fecommerce-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimswappy%2Fecommerce-automation/lists"}