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 π