Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Features of Selenium 4.0.0 Release – Java Binding

Posted on 04/23/2025 By admin

An alpha version of Selenium is released as 4.0.0-alpha-1. As we were expecting a big changes in Selenium 4 it is not like that.

An alpha release is a release when the feature which you are developing is incomplete or partially complete. So when you are trying below features, may or may not work properly.

I am going to list out some new features of Selenium 4 for Java binding here:-

  1. Now you can launch a new tab and window and by default switch to it. “newWindow” method from “WebDriver” interface creates a new browser window and switches the focus for future commands of this driver to the new window.
  2. You can capture (Screenshot) a particular web element directly instead of capturing whole screen. Earlier it was possible by cropping it using dimensions.
  3. Selects class overrides equals() and hashcode() methods now.
  4. Location of safari driver now configurable using “webdriver.safari.driver” system property.
  5. Basic support for using Docker containers with the new Grid Server.
  6. Selenium Grid will be robust as new Grid Server, supports “standalone”, “hub”, “node”, and completely distributed usage.
  7. HtmlUnitDriver will not be default part of Selenium WebDriver now.

Reference: –
https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG

I will cover new features of Selenium 4 once a stable version is released.

#ThanksForReading

Uncategorized

Post navigation

Previous Post: Part 1: Handling Drop-down Created Using SELECT Tag In Selenium
Next Post: Baby Steps To Become Efficient Selenium-Java Automation Tester

Related Posts

REST Assured Tutorial 69 – Response Logging In Rest Assured Uncategorized
Make Selenium Easy – Page 18 Uncategorized
image – Make Selenium Easy Uncategorized
OAuth 2.0 Uncategorized
April 5, 2018 – Make Selenium Easy Uncategorized
Navigate And Fetch Title Of All Tabs Using Selenium WebDriver Uncategorized

Recent Posts

  • Getting Started with Selenium 4: What Is New and How to Upgrade from Selenium 3
  • Manual Testing
  • Baby Steps To Become Efficient Selenium-Java Automation Tester
  • Features of Selenium 4.0.0 Release – Java Binding
  • Part 1: Handling Drop-down Created Using SELECT Tag In Selenium

Recent Comments

No comments to show.

Archives

  • April 2026
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • April 2024
  • March 2024
  • February 2024
  • December 2023
  • October 2023
  • August 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • May 2022
  • March 2022
  • October 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • May 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • January 2018

Categories

  • Getting Started
  • Uncategorized

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark