Skip to content

Commit b279a98

Browse files
authored
Merge branch 'trunk' into add_chrome_logs_documentation
2 parents 9c30e7b + 808af3e commit b279a98

16 files changed

+198
-48
lines changed

examples/ruby/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ gem 'rake', '~> 13.0'
77
gem 'rspec', '~> 3.0'
88
gem 'rubocop', '~> 1.35'
99
gem 'rubocop-rspec', '~> 2.12'
10-
gem 'selenium-devtools', '= 0.124.0'
10+
gem 'selenium-devtools', '= 0.125.0'
1111
gem 'selenium-webdriver', '= 4.20.1'

examples/ruby/Gemfile.lock

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ GEM
1414
rainbow (3.1.1)
1515
rake (13.2.1)
1616
regexp_parser (2.9.0)
17-
rexml (3.2.6)
17+
rexml (3.2.8)
18+
strscan (>= 3.0.9)
1819
rspec (3.13.0)
1920
rspec-core (~> 3.13.0)
2021
rspec-expectations (~> 3.13.0)
@@ -54,13 +55,14 @@ GEM
5455
rubocop (~> 1.40)
5556
ruby-progressbar (1.13.0)
5657
rubyzip (2.3.2)
57-
selenium-devtools (0.124.0)
58+
selenium-devtools (0.125.0)
5859
selenium-webdriver (~> 4.2)
5960
selenium-webdriver (4.20.1)
6061
base64 (~> 0.2)
6162
rexml (~> 3.2, >= 3.2.5)
6263
rubyzip (>= 1.2.2, < 3.0)
6364
websocket (~> 1.0)
65+
strscan (3.1.0)
6466
unicode-display_width (2.5.0)
6567
websocket (1.2.10)
6668

@@ -77,7 +79,7 @@ DEPENDENCIES
7779
rspec (~> 3.0)
7880
rubocop (~> 1.35)
7981
rubocop-rspec (~> 2.12)
80-
selenium-devtools (= 0.124.0)
82+
selenium-devtools (= 0.125.0)
8183
selenium-webdriver (= 4.20.1)
8284

8385
BUNDLED WITH
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
---
2+
title: "Selenium 4.21 Released!"
3+
linkTitle: "Selenium 4.21 Released!"
4+
date: 2024-05-16
5+
tags: ["selenium"]
6+
categories: ["releases"]
7+
author: Diego Molina [@diemol](https://diemol.com)
8+
images:
9+
- "/images/blog/selenium_4.21.png"
10+
description: >
11+
Today we're happy to announce that Selenium 4.21 has been released!
12+
---
13+
14+
We're very happy to announce the release of Selenium 4.21.0 for
15+
Javascript, Ruby, Python, .NET, Java and the Grid!
16+
Links to everything can be found on our [downloads page][downloads].
17+
18+
### Highlights
19+
20+
* Chrome DevTools support is now: v123, v124, and v125 (Firefox still uses v85 for all versions)
21+
* Selenium has at least [2.4M active users](https://plausible.io/manager.selenium.dev) in the last 30 days. 100k more than last month!
22+
* India and United States are the top countries with the most users.
23+
* Python is the most used language from the last 5 releases.
24+
* The most used operating system is Windows, with at least 1.9M users.
25+
* Extensibility points started to be implemented to simplify the integration between Selenium and Appium. Ruby is the first language to implement it.
26+
* Java and JavaScript keep adding more WebDriver [BiDi] features.
27+
* In Java, it is possible to set parameters for Selenium Manager via system properties.
28+
* Nightly packages are tested daily with the examples from the Selenium [documentation](/documentation).
29+
30+
31+
#### Noteworthy changes per language
32+
33+
* Java
34+
* Browser containers provisioned in Dynamic Grid will use the hostConfig
35+
* Set test name to video file name in Dynamic Grid
36+
* [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG)
37+
38+
39+
<br>
40+
41+
* JavaScript
42+
* Ensure `selectVisibleByText` method is same as other languages
43+
* [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md)
44+
45+
<br>
46+
47+
* .NET
48+
* Overwrite internal log file if it already exists
49+
* [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG)
50+
51+
<br>
52+
53+
* Python
54+
* Moving ignore_local_proxy_environment_variables to BaseOptions
55+
* [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES)
56+
57+
<br>
58+
59+
* Ruby
60+
* [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
61+
62+
63+
<br>
64+
65+
* Rust
66+
* [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md)
67+
68+
69+
70+
### Contributors
71+
72+
**Special shout-out to everyone who helped the Selenium Team get this release out!**
73+
74+
#### [Selenium](https://github.com/SeleniumHQ/selenium)
75+
76+
<div class="d-flex justify-content-center">
77+
<div class="col-11 p-4 bg-transparent">
78+
<div class="row justify-content-center">
79+
{{< gh-user "https://api.github.com/users/VietND96" >}}
80+
{{< gh-user "https://api.github.com/users/iampopovich" >}}
81+
{{< gh-user "https://api.github.com/users/joebandenburg" >}}
82+
{{< gh-user "https://api.github.com/users/kool79" >}}
83+
{{< gh-user "https://api.github.com/users/sandeepsuryaprasad" >}}
84+
</div>
85+
</div>
86+
</div>
87+
88+
89+
#### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io)
90+
91+
<div class="row justify-content-center">
92+
<div class="col-11 p-4 bg-transparent">
93+
<div class="row justify-content-center">
94+
{{< gh-user "https://api.github.com/users/Arpan3323" >}}
95+
{{< gh-user "https://api.github.com/users/aguspe" >}}
96+
{{< gh-user "https://api.github.com/users/chamiz" >}}
97+
{{< gh-user "https://api.github.com/users/pallavigitwork" >}}
98+
</div>
99+
</div>
100+
</div>
101+
102+
#### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium)
103+
104+
<div class="row justify-content-center">
105+
<div class="col-11 p-4 bg-transparent">
106+
<div class="row justify-content-center">
107+
{{< gh-user "https://api.github.com/users/VietND96" >}}
108+
{{< gh-user "https://api.github.com/users/edhinard" >}}
109+
</div>
110+
</div>
111+
</div>
112+
113+
#### [Selenium Team Members][team]
114+
115+
**Thanks as well to all the team members who contributed to this release:**
116+
117+
<div class="row justify-content-center">
118+
<div class="col-11 p-4 bg-transparent">
119+
<div class="row justify-content-center">
120+
{{< gh-user "https://api.github.com/users/pujagani" >}}
121+
{{< gh-user "https://api.github.com/users/diemol" >}}
122+
{{< gh-user "https://api.github.com/users/bonigarcia" >}}
123+
{{< gh-user "https://api.github.com/users/harsha509" >}}
124+
{{< gh-user "https://api.github.com/users/joerg1985" >}}
125+
{{< gh-user "https://api.github.com/users/nvborisenko" >}}
126+
{{< gh-user "https://api.github.com/users/p0deje" >}}
127+
{{< gh-user "https://api.github.com/users/shs96c" >}}
128+
{{< gh-user "https://api.github.com/users/titusfortner" >}}
129+
{{< gh-user "https://api.github.com/users/AutomatedTester" >}}
130+
</div>
131+
</div>
132+
</div>
133+
134+
Stay tuned for updates by following SeleniumHQ on [X (Formerly Twitter)](https://twitter.com/seleniumhq) or [LinkedIn](https://www.linkedin.com/company/selenium/)!
135+
136+
Happy testing!
137+
138+
[downloads]: /downloads
139+
[bindings]: /downloads#bindings
140+
[team]: /project/structure
141+
[BiDi]: https://github.com/w3c/webdriver-bidi

website_and_docs/content/documentation/grid/advanced_features/customize_node.en.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -95,23 +95,26 @@ public class DecoratedLoggingNode extends Node {
9595

9696
private Node node;
9797

98-
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret) {
99-
super(tracer, nodeId, uri, registrationSecret);
98+
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret, Duration sessionTimeout) {
99+
super(tracer, nodeId, uri, registrationSecret, sessionTimeout);
100100
}
101101

102102
public static Node create(Config config) {
103103
LoggingOptions loggingOptions = new LoggingOptions(config);
104104
BaseServerOptions serverOptions = new BaseServerOptions(config);
105105
URI uri = serverOptions.getExternalUri();
106106
SecretOptions secretOptions = new SecretOptions(config);
107+
NodeOptions nodeOptions = new NodeOptions(config);
108+
Duration sessionTimeout = nodeOptions.getSessionTimeout();
107109

108110
// Refer to the foot notes for additional context on this line.
109111
Node node = LocalNodeFactory.create(config);
110112

111113
DecoratedLoggingNode wrapper = new DecoratedLoggingNode(loggingOptions.getTracer(),
112-
node.getId(),
113-
uri,
114-
secretOptions.getRegistrationSecret());
114+
node.getId(),
115+
uri,
116+
secretOptions.getRegistrationSecret(),
117+
sessionTimeout);
115118
wrapper.node = node;
116119
return wrapper;
117120
}

website_and_docs/content/documentation/grid/advanced_features/customize_node.ja.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,26 @@ public class DecoratedLoggingNode extends Node {
100100

101101
private Node node;
102102

103-
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret) {
104-
super(tracer, nodeId, uri, registrationSecret);
103+
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret, Duration sessionTimeout) {
104+
super(tracer, nodeId, uri, registrationSecret, sessionTimeout);
105105
}
106106

107107
public static Node create(Config config) {
108108
LoggingOptions loggingOptions = new LoggingOptions(config);
109109
BaseServerOptions serverOptions = new BaseServerOptions(config);
110110
URI uri = serverOptions.getExternalUri();
111111
SecretOptions secretOptions = new SecretOptions(config);
112+
NodeOptions nodeOptions = new NodeOptions(config);
113+
Duration sessionTimeout = nodeOptions.getSessionTimeout();
112114

113115
// Refer to the foot notes for additional context on this line.
114116
Node node = LocalNodeFactory.create(config);
115117

116118
DecoratedLoggingNode wrapper = new DecoratedLoggingNode(loggingOptions.getTracer(),
117-
node.getId(),
118-
uri,
119-
secretOptions.getRegistrationSecret());
119+
node.getId(),
120+
uri,
121+
secretOptions.getRegistrationSecret(),
122+
sessionTimeout);
120123
wrapper.node = node;
121124
return wrapper;
122125
}

website_and_docs/content/documentation/grid/advanced_features/customize_node.pt-br.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -90,23 +90,26 @@ public class DecoratedLoggingNode extends Node {
9090

9191
private Node node;
9292

93-
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret) {
94-
super(tracer, nodeId, uri, registrationSecret);
93+
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret, Duration sessionTimeout) {
94+
super(tracer, nodeId, uri, registrationSecret, sessionTimeout);
9595
}
9696

9797
public static Node create(Config config) {
9898
LoggingOptions loggingOptions = new LoggingOptions(config);
9999
BaseServerOptions serverOptions = new BaseServerOptions(config);
100100
URI uri = serverOptions.getExternalUri();
101101
SecretOptions secretOptions = new SecretOptions(config);
102+
NodeOptions nodeOptions = new NodeOptions(config);
103+
Duration sessionTimeout = nodeOptions.getSessionTimeout();
102104

103105
// Refer to the foot notes for additional context on this line.
104106
Node node = LocalNodeFactory.create(config);
105107

106108
DecoratedLoggingNode wrapper = new DecoratedLoggingNode(loggingOptions.getTracer(),
107-
node.getId(),
108-
uri,
109-
secretOptions.getRegistrationSecret());
109+
node.getId(),
110+
uri,
111+
secretOptions.getRegistrationSecret(),
112+
sessionTimeout);
110113
wrapper.node = node;
111114
return wrapper;
112115
}

website_and_docs/content/documentation/grid/advanced_features/customize_node.zh-cn.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,26 @@ public class DecoratedLoggingNode extends Node {
100100

101101
private Node node;
102102

103-
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret) {
104-
super(tracer, nodeId, uri, registrationSecret);
103+
protected DecoratedLoggingNode(Tracer tracer, NodeId nodeId, URI uri, Secret registrationSecret, Duration sessionTimeout) {
104+
super(tracer, nodeId, uri, registrationSecret, sessionTimeout);
105105
}
106106

107107
public static Node create(Config config) {
108108
LoggingOptions loggingOptions = new LoggingOptions(config);
109109
BaseServerOptions serverOptions = new BaseServerOptions(config);
110110
URI uri = serverOptions.getExternalUri();
111111
SecretOptions secretOptions = new SecretOptions(config);
112+
NodeOptions nodeOptions = new NodeOptions(config);
113+
Duration sessionTimeout = nodeOptions.getSessionTimeout();
112114

113115
// Refer to the foot notes for additional context on this line.
114116
Node node = LocalNodeFactory.create(config);
115117

116118
DecoratedLoggingNode wrapper = new DecoratedLoggingNode(loggingOptions.getTracer(),
117-
node.getId(),
118-
uri,
119-
secretOptions.getRegistrationSecret());
119+
node.getId(),
120+
uri,
121+
secretOptions.getRegistrationSecret(),
122+
sessionTimeout);
120123
wrapper.node = node;
121124
return wrapper;
122125
}

website_and_docs/content/documentation/selenium_manager.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ Let's consider an example. A Selenium binding asks Selenium Manager to resolve c
159159

160160
Selenium Manager includes two additional arguments two handle the cache, namely:
161161

162-
- `--clear-cache`: To remove the cache folder.
163-
- `--clear-metadata`: To remove the metadata file.
162+
- `--clear-cache`: To remove the cache folder (equivalent to the environment variable `SE_CLEAR_CACHE=true`).
163+
- `--clear-metadata`: To remove the metadata file (equivalent to the environment variable `SE_CLEAR_METADATA=true`).
164164

165165
## Versioning
166166
Selenium Manager follows the same versioning schema as Selenium. Nevertheless, we use the major version 0 for Selenium Manager releases because it is still in beta. For example, the Selenium Manager binaries shipped with Selenium 4.12.0 corresponds to version 0.4.12.

website_and_docs/content/documentation/selenium_manager.ja.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ Let's consider an example. A Selenium binding asks Selenium Manager to resolve c
159159

160160
Selenium Manager includes two additional arguments two handle the cache, namely:
161161

162-
- `--clear-cache`: To remove the cache folder.
163-
- `--clear-metadata`: To remove the metadata file.
162+
- `--clear-cache`: To remove the cache folder (equivalent to the environment variable `SE_CLEAR_CACHE=true`).
163+
- `--clear-metadata`: To remove the metadata file (equivalent to the environment variable `SE_CLEAR_METADATA=true`).
164164

165165
## Versioning
166166
Selenium Manager follows the same versioning schema as Selenium. Nevertheless, we use the major version 0 for Selenium Manager releases because it is still in beta. For example, the Selenium Manager binaries shipped with Selenium 4.12.0 corresponds to version 0.4.12.

website_and_docs/content/documentation/selenium_manager.pt-br.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ Let's consider an example. A Selenium binding asks Selenium Manager to resolve c
159159

160160
Selenium Manager includes two additional arguments two handle the cache, namely:
161161

162-
- `--clear-cache`: To remove the cache folder.
163-
- `--clear-metadata`: To remove the metadata file.
162+
- `--clear-cache`: To remove the cache folder (equivalent to the environment variable `SE_CLEAR_CACHE=true`).
163+
- `--clear-metadata`: To remove the metadata file (equivalent to the environment variable `SE_CLEAR_METADATA=true`).
164164

165165
## Versioning
166166
Selenium Manager follows the same versioning schema as Selenium. Nevertheless, we use the major version 0 for Selenium Manager releases because it is still in beta. For example, the Selenium Manager binaries shipped with Selenium 4.12.0 corresponds to version 0.4.12.

website_and_docs/content/documentation/selenium_manager.zh-cn.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ Let's consider an example. A Selenium binding asks Selenium Manager to resolve c
159159

160160
Selenium Manager includes two additional arguments two handle the cache, namely:
161161

162-
- `--clear-cache`: To remove the cache folder.
163-
- `--clear-metadata`: To remove the metadata file.
162+
- `--clear-cache`: To remove the cache folder (equivalent to the environment variable `SE_CLEAR_CACHE=true`).
163+
- `--clear-metadata`: To remove the metadata file (equivalent to the environment variable `SE_CLEAR_METADATA=true`).
164164

165165
## Versioning
166166
Selenium Manager follows the same versioning schema as Selenium. Nevertheless, we use the major version 0 for Selenium Manager releases because it is still in beta. For example, the Selenium Manager binaries shipped with Selenium 4.12.0 corresponds to version 0.4.12.

website_and_docs/hugo.toml

-5
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,6 @@ enable = false
220220
url = "https://www.youtube.com/channel/UCbDlgX_613xNMrDqCe3QNEw"
221221
icon = "fab fa-youtube"
222222
desc = "Check all the conference talks and learn from the community!"
223-
[[params.links.user]]
224-
name = "Selenium in Facebook"
225-
url = "https://www.facebook.com/Selenium2.WebDriver"
226-
icon = "fab fa-facebook"
227-
desc = "Get news and updates in Facebook!"
228223
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
229224
[[params.links.developer]]
230225
name = "Software Freedom Conservancy"

website_and_docs/layouts/downloads/list.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="card-body">
2626
<p class="card-text">
2727
Latest stable version
28-
<a href="https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.20.0/selenium-server-4.20.0.jar">4.20.0</a>
28+
<a href="https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.21.0/selenium-server-4.21.0.jar">4.21.0</a>
2929
</p>
3030
<p class="card-text">
3131
To use the Selenium Server in a Grid configuration see the
@@ -107,7 +107,7 @@ <h2 class="card-title">
107107
<div class="card-body">
108108
<h2 class="card-title">C# NuGet</h2>
109109
<p class="card-text w-lg-75">
110-
Nuget latest release is 4.20.0 Released on April 24, 2024.
110+
Nuget latest release is 4.21.0 Released on May 16, 2024.
111111
</p>
112112
<ul>
113113
<li>

website_and_docs/layouts/partials/announcement-banner.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<div class="row g-0 justify-content-center">
77
<div class="alert alert-{{ $color }} col-12 fade show mb-0 p-0 -bg-{{ $color }}" role="alert">
88
<h4 class="alert-heading text-center m-0">
9-
Selenium Conf 2024 Call for Proposals is now open! Submissions close 30 April.
10-
<a href="https://2024.seleniumconf.in/submit-a-proposal/?utm_medium=referral&utm_source=selenium.dev&utm_campaign=CFP-launch&utm_content=cfp-page" target='_blank' aria-pressed="true">Learn more & submit</a>
9+
Registrations open for Selenium Conf 2024 online - live on 21 June.
10+
<a href="https://2024.seleniumconf.in/?utm_medium=referral&utm_source=selenium.dev&utm_campaign=registration" target='_blank' aria-pressed="true"> Register now!</a>
1111
</h4>
1212
</div>
1313
</div>

0 commit comments

Comments
 (0)