Skip to content

Post for already released 4.30 and 4.31 #2299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions scripts/release-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ git add "$NEW_BLOG"

sed -i '' "s/4\.$OLD_VERSION/4\.$NEW_VERSION/g" "$NEW_BLOG"

SINCE_COMMIT_DATE=$(gh api repos/seleniumhq/selenium/commits/selenium-4.${OLD_VERSION}.0 --jq '.commit.committer.date')
UNTIL_COMMIT_DATE=$(gh api repos/seleniumhq/selenium/commits/selenium-4.${NEW_VERSION}.0 --jq '.commit.committer.date')

echo "Selenium Contributors"
gh api --method GET /repos/seleniumhq/selenium/commits -f since=selenium-4.${OLD_VERSION}.0 -f per_page=1000 \
gh api --method GET /repos/seleniumhq/selenium/commits -f since="$SINCE_COMMIT_DATE" -f until="$UNTIL_COMMIT_DATE" -f per_page=1000 \
--jq 'map(.author.login) | unique | sort | map("{{< gh-user \"https://api.github.com/users/" + . + "\" >}}") | .[]'

COMMIT_DATE=$(gh api repos/seleniumhq/selenium/commits/selenium-4.${OLD_VERSION}.0 --jq '.commit.committer.date')

echo
echo "Docs Contributors"
gh api --method GET /repos/seleniumhq/seleniumhq.github.io/commits -f since="$COMMIT_DATE" -f per_page=1000 \
gh api --method GET /repos/seleniumhq/seleniumhq.github.io/commits -f since="$SINCE_COMMIT_DATE" -f until="$UNTIL_COMMIT_DATE" -f per_page=1000 \
--jq 'map(.author.login) | unique | sort | map("{{< gh-user \"https://api.github.com/users/" + . + "\" >}}") | .[]'

echo
echo "Docker Contributors"
gh api --method GET /repos/seleniumhq/docker-selenium/commits -f since="$COMMIT_DATE" -f per_page=1000 \
gh api --method GET /repos/seleniumhq/docker-selenium/commits -f since="$SINCE_COMMIT_DATE" -f until="$UNTIL_COMMIT_DATE" -f per_page=1000 \
--jq 'map(.author.login) | unique | sort | map("{{< gh-user \"https://api.github.com/users/" + . + "\" >}}") | .[]'
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Links to everything can be found on our [downloads page][downloads].
- Improved logging stability. ([#15257](https://github.com/SeleniumHQ/selenium/pull/15257))

### **Docker Selenium**

- Publish Node/Standalone images with the latest Grid core version and browser backward versions
- Update container environment to JDK21 ([#2642](https://github.com/SeleniumHQ/docker-selenium/pull/2642))
- Node base with share system certificate support ([#2653](https://github.com/SeleniumHQ/docker-selenium/pull/2653))
Expand Down Expand Up @@ -109,7 +110,6 @@ For a detailed look at all changes, check out the [release notes](https://github
{{< gh-user "https://api.github.com/users/AndreyJVM" >}}
{{< gh-user "https://api.github.com/users/Delta456" >}}
{{< gh-user "https://api.github.com/users/alaahong" >}}
{{< gh-user "https://api.github.com/users/automatealchemist" >}}
{{< gh-user "https://api.github.com/users/b2m" >}}
{{< gh-user "https://api.github.com/users/pallavigitwork" >}}
</div>
Expand Down
197 changes: 197 additions & 0 deletions website_and_docs/content/blog/2025/selenium-4-30-released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
---
title: "Selenium 4.30 Released!"
linkTitle: "Selenium 4.30 Released!"
date: 2025-03-21
tags: [ "selenium" ]
categories: [ "releases" ]
author: Diego Molina [@diemol](https://www.diemol.com)
images:
- "/images/blog/2025/selenium_4.30.jpg"
description: >
Today we're happy to announce that Selenium 4.30 has been released!
---

We're very happy to announce the release of Selenium 4.30 for Javascript, Ruby, Python, .NET, Java
and the Grid!
This version brings key updates across the project, with improvements to the BiDi protocol,
extensive nullability work in .NET, better error handling, and various bug fixes. It’s a great
step forward as we continue strengthening Selenium’s stability, consistency, and support across
all supported languages.

Links to all assets can be found on our [downloads page][downloads].


---

## 🚀 Major Highlights

- Continued enhancements to **BiDi (Bi-Directional Protocol)** support across Java, Ruby, .NET, JavaScript, and Python.
- Extensive **nullability annotations** added throughout the .NET bindings.
- Selenium Manager (Rust) now supports **nightly Grid builds**.
- Improvements to testing infrastructure and developer experience, including better packaging, linting, and platform support.
- Numerous bug fixes and refactors across the Grid, bindings, and devtools.

---

## 🔹 Language-Specific Changes

### **Java**

- Implemented BiDi commands: `getBidiSessionStatus` and `Permissions`.
- Refined logger initialization.
- Removed deprecated, non-W3C compliant `NetworkConnection` interface.
- Added support for setting viewport and handling CDP warnings gracefully.

### **Python**

- Improved devtools test handling and documentation.
- Fixed packaging issues and test discovery for `pytest`.
- Added docstring updates for clarity and modernization.
- Replaced strings with `By` class attributes.
- Improved socket resource management and error handling.
- Updated `expected_conditions` type annotations.

### **JavaScript**

- Fixed BiDi tests for Chrome and Firefox on CI.
- Implemented BiDi `permissions` module commands.

### **Ruby**

- Fixed a compatibility issue with Ruby 3.1 ("no anonymous block parameter").
- Added BiDi support for:
- Setting viewport
- Activating browser context
- Providing responses
- Added a `target_type` parameter to devtools.

### **.NET**

- Enabled **nullable reference types** across many components.
- Trimmed away CDP for **AOT** applications.
- Enhanced BiDi support including:
- `SetFiles` command
- Support for `UnhandledPromptBehavior`
- Event support like `OnNavigationCommitted`
- Encapsulation of the transport layer
- Improved `WebDriver`, `WebElement`, and capabilities types with nullability.
- Introduced `SystemClock` singleton.
- Revisited and fixed test execution on Windows/macOS.
- Removed obsoleted members for 4.30.

### **Grid & Selenium Manager**

- Added trace logging for session stop events in Grid.
- Improved configuration options for server timeouts and session handling.
- Added support in Selenium Manager (Rust) for **nightly Grid builds**.
- Enhanced ability to trace and view live sessions.

### **Docker Selenium**

- Helm config: Node Relay to extend autoscaling Grid with test cloud resources ([#2703](https://github.com/SeleniumHQ/docker-selenium/pull/2703)).
- Docker: Disable HeapDumpOnOutOfMemoryError by default ([#2708](https://github.com/SeleniumHQ/docker-selenium/pull/2708))
- [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases)


<br>

We thank all our contributors for their incredible efforts in making Selenium better with every
release. ❤️

For a detailed look at all changes, check out
the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/4.30).

<br>

## Contributors

**Special shout-out to everyone who helped the Selenium Team get this release out!**

### [Selenium](https://github.com/SeleniumHQ/selenium)

<div class="d-flex justify-content-center">
<div class="col-11 p-4 bg-transparent">
<div class="row justify-content-center">
{{< gh-user "https://api.github.com/users/Delta456" >}}
{{< gh-user "https://api.github.com/users/FloKNetcare" >}}
{{< gh-user "https://api.github.com/users/ahalbrock" >}}
{{< gh-user "https://api.github.com/users/allrob23" >}}
{{< gh-user "https://api.github.com/users/jpawlyn" >}}
{{< gh-user "https://api.github.com/users/navin772" >}}
{{< gh-user "https://api.github.com/users/smortex" >}}
{{< gh-user "https://api.github.com/users/pallavigitwork" >}}
{{< gh-user "https://api.github.com/users/ahalbrock" >}}
</div>
</div>
</div>

### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io)

<div class="row justify-content-center">
<div class="col-11 p-4 bg-transparent">
<div class="row justify-content-center">
{{< gh-user "https://api.github.com/users/Delta456" >}}
{{< gh-user "https://api.github.com/users/WasiqB" >}}
{{< gh-user "https://api.github.com/users/alaahong" >}}
{{< gh-user "https://api.github.com/users/beinghumantester" >}}
{{< gh-user "https://api.github.com/users/franciscotrenco" >}}
{{< gh-user "https://api.github.com/users/pallavigitwork" >}}
</div>
</div>
</div>

### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium)

<div class="row justify-content-center">
<div class="col-11 p-4 bg-transparent">
<div class="row justify-content-center">
{{< gh-user "https://api.github.com/users/VietND96" >}}
</div>
</div>
</div>

### [Selenium Team Members][team]

**Thanks as well to all the team members who contributed to this release:**

<div class="row justify-content-center">
<div class="col-11 p-4 bg-transparent">
<div class="row justify-content-center">
{{< gh-user "https://api.github.com/users/aguspe" >}}
{{< gh-user "https://api.github.com/users/AutomatedTester" >}}
{{< gh-user "https://api.github.com/users/bonigarcia" >}}
{{< gh-user "https://api.github.com/users/cgoldberg" >}}
{{< gh-user "https://api.github.com/users/diemol" >}}
{{< gh-user "https://api.github.com/users/harsha509" >}}
{{< gh-user "https://api.github.com/users/joerg1985" >}}
{{< gh-user "https://api.github.com/users/nvborisenko" >}}
{{< gh-user "https://api.github.com/users/p0deje" >}}
{{< gh-user "https://api.github.com/users/pujagani" >}}
{{< gh-user "https://api.github.com/users/RenderMichael" >}}
{{< gh-user "https://api.github.com/users/shbenzer" >}}
{{< gh-user "https://api.github.com/users/shs96c" >}}
{{< gh-user "https://api.github.com/users/titusfortner" >}}
{{< gh-user "https://api.github.com/users/VietND96" >}}
</div>
</div>
</div>



Stay tuned for updates by following SeleniumHQ on:

- [Mastodon](https://mastodon.social/@[email protected])
- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social)
- [LinkedIn](https://www.linkedin.com/company/selenium/)
- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams)
- [X (Formerly Twitter)](https://twitter.com/seleniumhq)

Happy automating!

[downloads]: /downloads

[bindings]: /downloads#bindings

[team]: /project/structure

[BiDi]: https://github.com/w3c/webdriver-bidi
Loading
Loading