Selenium WebDriver Java
The web testing standard
Selenium WebDriver has become the standard tool for automated web testing. It has received an endorsement from W3C (World Wide Web Consortium), the community which works on web standards development and Selenium 4 is W3C compliant. It is open-source and provides a powerful set of tools for testing your web site. It is available on any platform and can be used with just about any web browser, including remote execution via Selenium Grid.
You can also integrate it into a huge variety of frameworks such as Cucumber, SpecFlow, Mocha etc, as well as testing frameworks such as NUnit, xUnit, JUnit, MSTest etc., and use your choice of assertion libraries. It also integrates very easily into Continuous Integration Tools such as Jenkins, Azure DevOps, TeamCity etc.
Our Course

Our Selenium Java course is very comprehensive, and covers all you need to know about Selenium WebDriver Java. It includes in-depth topics on locators (critical to reliable tests), Page Object Models, integration into CI tools. It also covers topics on Selenium Grid/Server and Selenium IDE.
Technologies Used
- IntelliJ, Maven, Selenium WebDriver Java, JUnit, Java, Git, GitHub, Jenkins
We can use Eclipse instead of IntelliJ if you prefer.
Delivery
The course can be taken online or on-site at your offices. For the online training, it is live, instructor-led and we use Microsoft Teams for our virtual classroom environment. All delegates receive a very comprehensive workbook.
The online course is over 5 days, with each day being approximately 3.5 hours of online training. For classroom training it is a 3 full day course.
Course Overview
Installation & Project Setup
How to install Selenium WebDriver Java, JUnit, JDK, IntelliJ & Maven, package managers and other useful tools. Creating a Maven project.
Introducing WebDriver
How to write a simple automation script in WebDriver within a standard java Class and Junit @Test method
Web Page Anatomy & Object Identification
Element locator strategies, using simple techniques
Object Identification using CSS & XPath
More complex locator strategies using CSS & XPath notation.
WebDriver Actions
Simple and complex interactions with found objects. Taking screenshots.
Synchronisation & Debugging
Implicit and Explicit Waits explained, debugging your test scripts.
Capturing Values & Asserts
Capturing values, handling web tables, test step assertions.
WebDriver with JUnit
Overview of the JUnit annotation key words. JUnit test & suite organisation and tagging. Execution order. Timeouts. Parallel test execution.
Helpers & Base Classes
Code re-use through Helper Methods and Base Classes.
Introducing Page Objects (POM)
Introduction to why we do it and how it makes life easier. Refactoring our tests using the PageFactory. Developing your own POM
Data-Driven testing
In-line and external data sources, data-driving your tests.
Command Line
Command Line test selection and execution with Maven. Passing Parameters. Maven Phases and Goals.
Reporting
Using Surefire Reporting. 3rd Party Reporting tools. Allure 2/3 HTML Reporting framework set up, integration and use.
Cross-Browser & Selenium Server
Executing tests remotely using Selenium Server/Grid, Headless & Mobile Emulation testing. Cross-Browser testing.
Integration
Integration with source control (Git & GitHub). Integration with Jenkins/Azure Dev Ops/GitHub Actions and automating Test execution.
WebDriver BiDi
WebDriver’s future that you can use today.
Related Courses: