Skip to content

ArpitChoubey/Selenium-Webdriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium WebDriver Repository

👨‍💻 Author

Arpit Choubey — SDET | QA | Automation Engineer 🔗 LinkedIn | Medium

⭐ Support

If this repository helps you, please Star 🌟 it!


Overview

This repository contains comprehensive Selenium WebDriver examples, covering almost every important concept required for Web Automation Testing. Each Java class demonstrates a specific topic, making it easy to practice, revise, and build real-time Selenium automation skills.

This repository is suitable for:

  • Beginners learning Selenium from scratch
  • QA Engineers revising for interviews
  • Test Automation learners building frameworks

Key Selenium Concepts Covered

The repository includes working examples of:

🔹 Browser Handling

  • Launching browsers
  • Multiple window handling
  • Window switching
  • Headless browser execution

🔹 WebElement Interactions

  • Clicking, sending text, retrieving text
  • Element attributes
  • Handling stale elements
  • Relative locators

🔹 Advanced User Actions

  • Mouse hover
  • Drag and drop
  • Keyboard operations

🔹 Dropdowns & Web Tables

  • Selecting values with Select
  • Dynamic table handling
  • Fetching row/column values

🔹 Pop-ups & Alerts

  • JavaScript alerts
  • Modal dialogs
  • Authentication pop-ups

🔹 Waits

  • Implicit, Explicit, and Fluent waits
  • Handling synchronization issues

🔹 File Operations

  • File upload automation
  • Screenshot handling

🔹 Navigation & Browser Commands

  • Forward, Back, Refresh
  • URL navigation techniques

The repository is structured for easy navigation of concepts.


Folder Structure

Selenium-Webdriver/
├── src/
│   └── main/
│       └── java/
│           └── SeleniumSess/
│               ├── AbcTest.java
│               ├── AlertJSPop.java
│               ├── BrowserMultipleWindow.java
│               ├── BrowserWindowHandle.java
│               ├── DropDown.java
│               ├── ElementAttributeConcept.java
│               ├── ElementUtil.java
│               ├── FileUpload.java
│               ├── FooterSection.java
│               ├── GetTextForText.java
│               ├── GoogleLang.java
│               ├── HeadlessBrowser.java
│               ├── LocatorConcept.java
│               ├── Navigation.java
│               ├── RegPage.java
│               ├── RelativeLocator.java
│               ├── SeleniumBasic.java
│               ├── SeleniumUtil.java
│               ├── StaleElementRefExceptionConcept.java
│               ├── TotalLinks.java
│               ├── WaitsInSel.java
│               └── WebDriverMethods.java
│
├── .settings/
├── .classpath
├── .project
└── README.md

How to Use

  1. Import the project into Eclipse or IntelliJ.
  2. Ensure that WebDriver binaries (ChromeDriver, GeckoDriver etc.) are set up.
  3. Open any class from SeleniumSess package.
  4. Run the program as a Java Application.

Why This Repository Is Useful

  • Covers ALL major Selenium concepts
  • Easy to navigate and understand
  • Great reference for QA interviews
  • Helps build automation framework foundations

Notes

  • Update driver executable paths as per your system.
  • Use the latest Selenium and browser driver versions.

About

Latest Selenium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published