Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Selenium WebDriver with Java - Web Automation for Beginners

via Udemy

Overview

2026 - Master Web Browser Automation Testing Scenarios from Basics to Advanced with Latest Selenium 4 WebDriver Java

What you'll learn:
  • Selenium WebDriver with Java - Basics to Advanced concepts from Scratch
  • Latest Selenium 4 version used for the Java Automation Coding examples
  • Learn Java fundamentals from scratch needed to get started with Selenium
  • Chrome Devtools Protocol (CDP) Features in Latest Selenium 4
  • Selenium Grid 4 - practical demonstration of Traditional VMs and Docker Modes
  • Working with all kinds of Web Elements automation on Real world usecases
  • Important concepts like Shadow DOM, SVG Elements, Broken Links and Images, Pseudo Elements and more
  • 16 different Selenium Exceptions with practical demonstration on Real websites
  • End to End Testing scenarios, Interview perspective topics on Selenium WebDriver automation practice

Selenium WebDriver with Java - Web Automation for Beginners is the course designed for Software Test Engineers looking to upgrade their skills in Practical Web Automation Testing with Selenium 4 latest version.

The Java Fundamentals needed to understand the Selenium WebDriver Java methods are covered

Software Installation and Java concepts - 10 hours of detailed video sections are added


All required topics to master the Selenium WebDriver concepts are covered in the course

Get Started with Selenium Java Automation

--> Launching different browsers with Selenium Java code

--> Navigate vs Get method differences

--> findElement and findElements coding Examples

Selenium WebDriver Hierarchy

--> Understand the Hierarchy of Different Interfaces and Browser Driver Classes with the WebDriver Interface

Selenium Manager - Automated Driver Management

--> Practical demonstration of the Automated Driver binaries downloads from Selenium 4.6.0 onwards

Selenium Manager - Automated Browser Management

--> Practical demonstration of the Automated Browser downloads for the Chrome and Firefox browsers

Selenium WebDriver Architecture

--> Understand the actual working of the W3C Protocol for the Selenium 4 WebDriver Architecture

Selenium WebElement Hierarchy

--> Understand the Hierarchy of the WebElement Interface with different Parent Interfaces

Locators in Selenium

--> Detailed Examples on all different Locators in Selenium

--> Id, Name, ClassName, TagName, LinkText, PartialLinkText, CSS Selector, XPath

Relative Locators in Selenium 4 - Latest feature

--> Previously called as Friendly Locators

--> Coding Examples to use methods - leftOf(), rightOf(), above(), below(), near()

Writing Complex XPath for Interview Perspective

--> Multiple Dynamic XPath examples with different Real time E-commerce websites

--> Using XPath Axes methods for solving Interview perspective and practical Web Elements

Handling Frames

--> Switching to Frames - ID, Name, Index, WebElement

--> Working with Nested Frames

--> Switching to Parent Frame and Main web page

Handling Windows

--> Switching to other Open windows using Window Handles

--> Switching to New Window (Window Type - TAB/WINDOW - Latest Selenium 4 feature)

Handling Alerts

--> JavaScript Alerts Handling - Normal, Confirmation, Prompt Alerts

--> Basic Authentication Popup Handling

Handling Dropdowns

--> Single Select Dropdown

--> Multi Select Dropdown

--> BootStrap Dropdown

--> Hidden Dropdown

--> Auto Suggestion Dropdown

Synchronization - Wait methods in Selenium WebDriver

--> ImplicitWait - using Duration class - Latest Selenium 4 feature

--> ExplicitWait using WebDriverWait

--> ExplicitWait using FluentWait

PageLoadTimeout and ScriptTimeout concepts in Selenium WebDriver

--> Learn how to use them with Coding Examples

Default Timeout values in Selenium WebDriver

--> Debugging the WebDriver reference variable in Java Runtime

PageLoadStrategy in Selenium WebDriver

--> Three Page Loading Strategies - NORMAL, EAGER, NONE

Handling Checkboxes

--> Single Checkbox

--> Multiple Checkboxes

WebElement methods for checking Element presence, Enabled, Selected

--> isDisplayed(), isEnabled(), isSelected()

Handling Static Web Tables

--> Multiple coding examples on Handling Static WebTable elements

Handling Dynamic Pagination Web Tables

--> Multiple coding examples on Handling Dynamic Pagination WebTable elements

Handling Calendar - Date Pickers

--> Different approaches to Handling Date Picker fields

Performing Mouse Actions

--> Action Class for Mouse Operations

--> moveToElement() for Mouse Hover

--> contextClick() for Right Click

--> doubleClick()

--> dragAndDrop(source,target)

--> dragAndDropBy() for Handling Sliders

Performing Keyboard Actions

--> KeyDown(), KeyUp(), Keys

JavascriptExecutor in Selenium

--> performing click and sendKeys with JavascriptExecutor

--> ElementClickInterceptedException and handling it with JavascriptExecutor

--> Scrolling the Web Pages with JavascriptExecutor

Maximize, Minimize and Set Zoom Level for the Web Browser

--> Using inbuilt methods - maximize() and minimize

--> Using JavascriptExecutor for setting the Zoom Level (Zoom In and Zoom Out)

Upload Files in Selenium

--> Single File Upload and Multiple Files Upload - using the sendKeys() method

Capturing Screenshots

--> Full Web Page screenshot using the driver reference variable

--> Capture the WebElement screenshot - Latest Selenium 4 feature

Options Class - setting Browser profile - ChromeOptions, EdgeOptions, FirefoxOptions

--> Headless Browser Testing

--> Remove message Chrome is being controlled by automated test software

--> SSL Certificate Handling

--> Incognito Browser mode

Broken Links and Broken Images

--> Verifying the Broken Links and Broken Images using Java HTTP methods - Important for Interviews

Handling Shadow DOM Elements

--> Shadow Host, Shadow Root and Working with the Shadow Root elements

Handling SVG Elements (Scalable Vector Graphics)

--> Working with the SVG Elements - vector images - circle, rect, line, polygon, path, g

Handling Pseudo Elements - CSS

--> Using JavascriptExecutor code to Retrieve the Pseudo Element property values

Selenium Java - Common Exceptions encountered

--> 16 Different Exceptions are discussed in detail, with coding examples

--> Handling the Exceptions using try, catch, finally blocks

Handling Cookies in Selenium WebDriver

--> Retrieve All Cookies, Retrieve Specific Cookie by Name

--> Add Cookie to the Browser Session

--> Delete Cookie Object, Delete Cookie by Name, Delete All Cookies

End to End Testing with Real Time Websites - Interview Perspective Scenarios

--> Practical Real Time Websites, Testing of E-Commerce Website

--> Assignment with 3 additional scenarios for Interview preparation

Chrome DevTools Protocol in Selenium 4

--> Understanding the Chrome Dev Tools Protocol Features

--> Loading Insecure Websites using the Security domain in CDP

--> Using the executeCdpCommand() method for passing CDP commands directly

--> Retrieve Browser Console Logs using Log Domain in the CDP

--> Network Domain - Offline Mode - Internet Disconnected scenario

--> Network Domain - Online Mode - Internet Connected scenario

--> Network Domain - Connection Type - Emulate network - 2G, 3G, 4G, Ethernet, WiFi, etc.

Selenium Grid 4 - using Remote WebDriver - Traditional VMs Mode

--> Selenium Grid 4 - Overview and Grid 4 vs Grid 3

--> Different Modes in Selenium Grid 4

--> Standalone Mode - Practical Coding Demo

--> Hub and Nodes Mode - Practical Coding Demo

Selenium Grid 4 - Docker Mode - Containers

--> Selenium Grid 4- Docker Mode - Overview

--> Docker Desktop Software Installation

--> Docker Fundamentals - Image, Container, Hub, Commands

--> Selenium Grid 4 - Practical Coding Demo - Standalone Docker Containers

--> Docker Compose yml file - create Multiple Standalone Docker Containers

--> Hub and Nodes using Docker Compose yml file

--> Full Distributed Grid using Docker Compose yml file


Students have Lifetime access to the recordings from Udemy.

Course can be accessed from Desktop Web browser on Udemy website, Mobile Apps (Android and iOS).

Syllabus

  • Welcome to the Selenium WebDriver Java course
  • Introduction to the Selenium Automation
  • Selenium versions and Checking for Latest Information
  • Software Setup for Selenium WebDriver Java coding
  • Java Fundamentals - Getting Started with Java
  • Java Fundamentals - Packages, Adding Comments
  • Java Fundamentals - Variables and Primitive Data Types
  • Java Fundamentals - Classes, Objects, Variables, Methods
  • Java Fundamentals - Constructors, this and static keywords
  • Getting Started with Selenium Java Coding
  • Java Fundamentals - Inheritance and super keyword
  • Java Fundamentals - Access Modifiers, final keyword
  • Java Fundamentals - Interface and Abstract Class
  • Selenium WebDriver Hierarchy
  • Java Fundamentals - Operators
  • Java Fundamentals - Conditional Statements
  • Java Fundamentals - Looping Statements
  • Using WebDriver reference to Launching Browsers
  • Selenium Manager - Automated Driver Management
  • Selenium WebDriver Architecture - W3C Protocol
  • Automated Browser Management - Chrome, Firefox
  • Java Fundamentals - Arrays (1D, 2D)
  • Java Fundamentals - Strings
  • Java Fundamentals - Collections - List and ArrayList
  • Locators (id, className, tagName) - Part 1
  • Locators (name, partialLinkText) - Part 2
  • Locators (tagName, linkText) - Part 3
  • Locators (CSS Selector) - Part 4
  • Locators (Xpath) - Part 5
  • Locators (XPath Axes) - Part 6
  • Complex XPath - Popular Interview Question - Two Examples
  • Additional XPath Real time Examples - Interview Perspective
  • CSS Selector vs XPath - Important Interview Question
  • Relative Locators in Selenium 4 (Friendly Locators)
  • Selenium WebElement Hierarchy
  • Java Fundamentals - Collections - Set and HashSet
  • Handling Browser Tabs and Windows
  • New Tab and New Window - Latest Feature in Selenium 4
  • close() vs quit() methods and NoSuchSessionException, NoSuchWindowException
  • WebElement methods - isDisplayed(), isEnabled(), isSelected()
  • Java Fundamentals - Exception Basics
  • Synchronization - Implicit Wait method
  • Synchronization - Explicit Wait using WebDriverWait Class
  • Synchronization - Explicit Wait using FluentWait Class
  • Handling Checkboxes
  • Handling Alerts / Popups
  • Handling Frames - frame/iframe - Nested Frames
  • Using PageLoadTimeout and ScriptTimeout
  • PageLoadStrategy in Selenium
  • Handling Single Select Dropdown

Taught by

Swaroop Nadella

Reviews

4.6 rating at Udemy based on 141 ratings

Start your review of Selenium WebDriver with Java - Web Automation for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.