Selenium 4 in Java
Discover the latest features of Selenium 4 in this comprehensive Java programming course by Angie Jones. Learn about TestNG and WebDriver with practical examples and gain insights into managing windows, element positioning, screenshots, and more. Join Rex Jones II on Test Automation University and unlock the power of Selenium for your automation testing needs.
The first course is by Angie Jones, Java Programming .
The next course is my course, Introduction to TestNG . TestNG is one of the test frameworks for Java.
And the third course is also by Angie Jones, and that course is Selenium WebDriver with Java .
In this course, we will focus on the new features for Selenium 4.
There are 7 chapters.
In the first chapter, we will install Selenium 4. It’s the official Selenium 4.0 version.
The next chapter is W3C WebDriver Protocol.
It replaced the JSON Wire Protocol and has some advantages for our automation test scripts.
The third chapter is Relative Locators. It originally was called Friendly Locators, and it helps us to find elements in relation to other elements.
Fourth chapter is, Managing Windows and Managing Tabs. It’s a built-in method that automatically switches focus to the new window or new tab.
After Managing Windows & Tabs, is the Element Position with getRect().
It combines 2 methods that allows us to get the position and the dimension of an element.
The sixth chapter is Screenshots. We are going to take a screenshot of the web element and take a full-page screenshot.
Last chapter is CDP, Chrome DevTools Protocol. It’s an API that helps us to debug an application. I will start with an introduction to CDP, then transition to viewing a browser’s console logs. The last 2 parts include mocking a geolocation and emulating the network conditions.
Before we get started, I want to thank a few people who I appreciate starting with Angie Jones.
Thank you for an opportunity to be an instructor at Test Automation University.
Next are the people behind Selenium.
For all these years, I want to thank Simon Stewart, Jim Evans, David Burns, Titus Fortner, Diego Molina, and Manoj Kumar.
If you did not know, Simon is stepping down as the lead for Selenium. However, here’s the structure for Selenium .
We have the Technical Committee, the Project Leadership Committee.
We also have the Tech Leadership Committee.
We have the Committers, and Triagers.
At the bottom, we have the sponsors that include Applitools.
You can find me on my website at RexJones2.com .
You can also follow me on Twitter, connect with me on LinkedIn, YouTube, and Facebook.
The source code will be available on GitHub. Next, is the first chapter.
TAU Course: Java Programming
TAU Course: Introduction to TestNG
TAU Course: Selenium WebDriver with Java
Selenium Blog Article: Stepping Down, Stepping Up
Selenium Project Structure (People)
Git Repo for Course Code
Rex Jones II (Website)
Rex Jones II (Twitter)
Rex Jones II (LinkedIn)
Rex Jones II (Facebook)