A production‑ready, SDET‑style Selenium automation repository built using Java + Selenium WebDriver + Maven, covering real‑world UI automation scenarios, advanced browser handling, data‑driven testing, exception handling, and Chrome DevTools (CDP) use cases.
This repository is designed to showcase hands‑on SDET skills, not just theory.
✔ End‑to‑End Selenium WebDriver automation examples ✔ Clean package structure following industry practices ✔ Advanced Selenium concepts (CDP, Shadow DOM, SVG, JS Executor) ✔ Data‑Driven Testing using Excel (Apache POI) ✔ Robust Exception Handling coverage ✔ Maven‑based project (easy dependency management) ✔ Screenshot capture & test artifacts ✔ Ideal for SDET / Automation Engineer interviews & portfolios
Selenium-WebDriver-E-commerce-Application
│
├── eclipse-workspace/
│ └── SeleniumPractice/
│ ├── src/test/java/
│ │ ├── SeleniumP/ # All Selenium concepts
│ │ ├── DataDrivenTesting/ # Excel-based data driven tests
│ │ ├── Exceptions/ # Selenium exception handling demos
│ │ └── ChromeDevTools/ # Chrome DevTools (CDP) examples
│ │
│ ├── Screenshots/ # Captured test screenshots
│ ├── TestData/ # Excel & test data files
│ ├── pom.xml # Maven dependencies
│ └── README.md
- Locators (ID, Name, Class, CSS, XPath)
- XPath (Absolute, Relative, Advanced)
- WebElement methods
- Browser navigation & window handling
- Tabs & multiple windows
- Frames & iFrames
- Alerts & JavaScript pop‑ups
- Mouse & Keyboard actions
- Drag & Drop, Sliders, Hover actions
- Shadow DOM handling
- SVG elements interaction
- JavaScriptExecutor usage
- File upload handling
- Captcha awareness handling
- Headless browser testing
- Page Load Strategy & Timeouts
- Implicit Wait
- Explicit Wait
- Fluent Wait
Implemented using Apache POI:
- Read data from Excel
- Write data into Excel
- Dynamic data writing
- Random & specific data handling
📁 Package: DataDrivenTesting
Comprehensive coverage of real Selenium exceptions, including:
- NoSuchElementException
- TimeoutException
- StaleElementReferenceException
- ElementClickInterceptedException
- InvalidSelectorException
- NoSuchWindow / Frame / Session exceptions
📁 Package: Exceptions
Advanced browser‑level automation using CDP:
- Execute CDP commands
- Capture console logs
- Network offline simulation
- Load insecure websites
📁 Package: ChromeDevTools
- Language: Java
- Automation Tool: Selenium WebDriver
- Build Tool: Maven
- Test Data: Excel (Apache POI)
- Browser: Chrome
- IDE: Eclipse
- Version Control: Git & GitHub
-
Clone the repository
git clone https://github.com/ArpitChoubey/Selenium-WebDriver-E-commerce-Application.git
-
Open Eclipse
-
Import as Existing Maven Project
-
Update Maven dependencies
-
Run any
*.javafile as Java Application
All captured screenshots during execution are stored in:
Screenshots/
- SDET / Automation Engineer Portfolio
- Selenium Interview Preparation
- Real‑world Selenium practice
- QA Engineers transitioning to Automation
Arpit Choubey SDET | QA | Automation Engineer
🔗 LinkedIn: https://www.linkedin.com/in/arpitchoubey/ ✍ Medium: https://medium.com/@ArpitChoubey9
If this repository helped you:
👉 Please Star ⭐ the repo to support and motivate further contributions!
Happy Testing 🚀