Skip to content

Commit dc2eb82

Browse files
authored
Merge branch 'trunk' into info_java
2 parents 30215c2 + 7eecdbd commit dc2eb82

36 files changed

+484
-171
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ on:
44
push:
55
branches:
66
- trunk
7+
workflow_dispatch:
78

89
jobs:
910
deploy:
10-
if: contains(toJson(github.event.commits), '[deploy site]') == true
11+
if: contains(toJson(github.event.commits), '[deploy site]') == true || github.event_name == 'workflow_dispatch'
1112
runs-on: ubuntu-24.04
1213
steps:
1314
- name: Checkout repo

.github/workflows/dotnet-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
distribution: 'temurin'
8686
java-version: 11
8787
- name: Run tests
88-
uses: nick-fields/[email protected].1
88+
uses: nick-fields/[email protected].2
8989
with:
9090
timeout_minutes: 20
9191
max_attempts: 3

.github/workflows/java-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: keytool -import -noprompt -trustcacerts -alias SeleniumHQ -file examples/java/src/test/resources/tls.crt -keystore ${{ steps.java.outputs.path }}/lib/security/cacerts -storepass changeit
5959
- name: Run Tests Stable
6060
if: matrix.release == 'stable'
61-
uses: nick-invision/[email protected].1
61+
uses: nick-invision/[email protected].2
6262
with:
6363
timeout_minutes: 40
6464
max_attempts: 3
@@ -67,7 +67,7 @@ jobs:
6767
mvn -B test -D"jdk.internal.httpclient.disableHostnameVerification=true"
6868
- name: Run Tests Nightly Linux/macOS
6969
if: matrix.release == 'nightly' && matrix.os != 'windows'
70-
uses: nick-invision/[email protected].1
70+
uses: nick-invision/[email protected].2
7171
with:
7272
timeout_minutes: 40
7373
max_attempts: 3
@@ -81,7 +81,7 @@ jobs:
8181
8282
- name: Run Tests Nightly Windows
8383
if: matrix.release == 'nightly' && matrix.os == 'windows'
84-
uses: nick-invision/[email protected].1
84+
uses: nick-invision/[email protected].2
8585
with:
8686
timeout_minutes: 40
8787
max_attempts: 3

.github/workflows/js-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
env:
117117
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118118
- name: Run tests
119-
uses: nick-invision/[email protected].1
119+
uses: nick-invision/[email protected].2
120120
with:
121121
timeout_minutes: 20
122122
max_attempts: 3

.github/workflows/kotlin-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
distribution: 'temurin'
8484
java-version: 11
8585
- name: Run tests
86-
uses: nick-invision/[email protected].1
86+
uses: nick-invision/[email protected].2
8787
with:
8888
timeout_minutes: 20
8989
max_attempts: 3

.github/workflows/python-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
distribution: 'temurin'
9696
java-version: 11
9797
- name: Run tests
98-
uses: nick-invision/[email protected].1
98+
uses: nick-invision/[email protected].2
9999
with:
100100
timeout_minutes: 60
101101
max_attempts: 3

.github/workflows/ruby-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
distribution: 'temurin'
8585
java-version: 11
8686
- name: Run tests
87-
uses: nick-invision/[email protected].1
87+
uses: nick-invision/[email protected].2
8888
with:
8989
timeout_minutes: 20
9090
max_attempts: 3

examples/dotnet/SeleniumDocs/SeleniumDocs.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="7.7.1" />
1111
<PackageReference Include="MSTest.TestAdapter" Version="3.6.0" />
1212
<PackageReference Include="MSTest.TestFramework" Version="3.6.0" />
13-
<PackageReference Include="Selenium.Support" Version="4.28.0" />
14-
<PackageReference Include="Selenium.WebDriver" Version="4.28.0" />
13+
<PackageReference Include="Selenium.Support" Version="4.29.0" />
14+
<PackageReference Include="Selenium.WebDriver" Version="4.29.0" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

examples/kotlin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<properties>
1212
<kotlin.version>2.1.0</kotlin.version>
1313

14-
<slf4j.version>2.0.16</slf4j.version>
15-
<logback.version>1.5.16</logback.version>
14+
<slf4j.version>2.0.17</slf4j.version>
15+
<logback.version>1.5.17</logback.version>
1616

1717
<junit5.version>5.12.0</junit5.version>
1818
<wdm.version>5.2.3</wdm.version>

examples/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
selenium==4.29.0
2-
pytest==8.3.4
2+
pytest==8.3.5
33
trio==0.29.0
44
pytest-trio==0.8.0
55
pytest-rerunfailures==14.0

website_and_docs/content/blog/2023/selenium-4-9-0-released.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ Links to everything can be found on our [downloads page][downloads].
3333
<div class="col-11 p-4 bg-transparent">
3434
<div class="row justify-content-center">
3535
{{< gh-user "https://api.github.com/users/atrnh" >}}
36-
{{< gh-user "https://api.github.com/users/nvborisenko" >}}
37-
{{< gh-user "https://api.github.com/users/dev-ardi" >}}
36+
{{< gh-user "https://api.github.com/users/nvborisenko" >}}
3837
{{< gh-user "https://api.github.com/users/arnonax-tr" >}}
3938
{{< gh-user "https://api.github.com/users/robotdana" >}}
4039
{{< gh-user "https://api.github.com/users/iampopovich" >}}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: "Removing ChromeDevTools Support For Firefox"
3+
linkTitle: "Removing ChromeDevTools Support For Firefox"
4+
date: 2025-02-03
5+
tags: ["selenium"]
6+
categories: ["releases"]
7+
author: Puja Jagani [@pujagani](https://www.linkedin.com/in/pujajagani/)
8+
description: >
9+
Today we're happy to announce ChromeDevTools support for Firefox is removed and WebDriver BiDi is paving the path forward
10+
---
11+
12+
Selenium has deprecated support for Chrome DevTools Protocol (CDP) for Firefox in the last two versions (4.27 and 4.28). Our typical removal policy is to deprecate support for two versions, allowing users sufficient time to update their codebase, and then remove it from the third version onwards.
13+
14+
Starting with Selenium 4.29.0, CDP support for Firefox has been fully removed—and for good reason. Selenium’s CDP implementation for Firefox was always partial, meaning it never had complete feature parity with Chrome. Meanwhile, Firefox is shifting towards WebDriver BiDi, the future of cross-browser automation. Aligning with this, Firefox has announced that starting with Firefox 129, CDP will no longer be enabled by default. Read more here: [https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/].
15+
16+
To support this transition, Selenium is removing CDP support for Firefox, as a major portion of WebDriver BiDi functionality is now available across all Selenium language bindings. Selenium is committed to staying in sync with browser vendors and the latest developments in the WebDriver BiDi protocol. This step brings us closer to standardized, browser-agnostic automation.
17+
18+
If you were using CDP in Selenium for Firefox, now is the time to switch to WebDriver BiDi. Start your journey with Selenium’s WebDriver BiDi examples [here](https://www.selenium.dev/documentation/webdriver/bidi/w3c/).
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
---
2+
title: "Selenium 4.29 Released!"
3+
linkTitle: "Selenium 4.29 Released!"
4+
date: 2025-02-20
5+
tags: ["selenium"]
6+
categories: ["releases"]
7+
author: Diego Molina [@diemol](https://www.diemol.com)
8+
images:
9+
- "/images/blog/2025/selenium_4.29.jpg"
10+
description: >
11+
Today we're happy to announce that Selenium 4.29 has been released!
12+
---
13+
We're very happy to announce the release of Selenium 4.29 for
14+
Javascript, Ruby, Python, .NET, Java and the Grid!
15+
Links to everything can be found on our [downloads page][downloads].
16+
17+
18+
---
19+
20+
## 🚀 Major Highlights
21+
22+
- **Final removal of [Firefox CDP support](/blog/2025/remove-cdp-firefox/)** across all language bindings.
23+
- **New WebDriver BiDi capabilities**: Implementation of `setCacheBehavior` and `getClientWindows` commands.
24+
- **Grid UI Fixes**: Live session view now works as expected.
25+
- **PrintOptions enhancements**: Support for predefined and custom paper sizes.
26+
- **Nullability annotations** continue to improve type safety in .NET.
27+
- **BiDi improvements**: Network response handlers and optimizations.
28+
- **Enhancements to logging options** in Java.
29+
30+
---
31+
32+
## 🔹 Language-Specific Changes
33+
34+
### **Java**
35+
- Implemented `setCacheBehavior` for WebDriver BiDi. ([#15130](https://github.com/SeleniumHQ/selenium/pull/15130))
36+
- Enhanced `PageSize` class to support predefined and custom paper sizes. ([#15052](https://github.com/SeleniumHQ/selenium/pull/15052))
37+
- Ensured purging dead nodes service interval is configurable. ([#15175](https://github.com/SeleniumHQ/selenium/pull/15175))
38+
- Improved handling of Selenium logging options. ([#15197](https://github.com/SeleniumHQ/selenium/pull/15197))
39+
- Added support for `getClientWindows` in WebDriver BiDi. ([#14869](https://github.com/SeleniumHQ/selenium/pull/14869))
40+
41+
### **Python**
42+
- Fixed installation issues for source distributions. ([#15128](https://github.com/SeleniumHQ/selenium/pull/15128))
43+
- Updated `PrintOptions` to support different page sizes. ([#15064](https://github.com/SeleniumHQ/selenium/pull/15064))
44+
- Documented `cygwin` path usage in `send_keys()`. ([#15275](https://github.com/SeleniumHQ/selenium/pull/15275))
45+
- Fixed return type and docstrings for `get_downloadable_files()`. ([#15292](https://github.com/SeleniumHQ/selenium/pull/15292))
46+
47+
### **JavaScript**
48+
- Implemented `setCacheBehavior` for WebDriver BiDi. ([#15136](https://github.com/SeleniumHQ/selenium/pull/15136))
49+
- Fixed dependencies for `novnc` v1.5.0. ([#15005](https://github.com/SeleniumHQ/selenium/pull/15005))
50+
- Added support for `getClientWindows` in WebDriver BiDi. ([#15248](https://github.com/SeleniumHQ/selenium/pull/15248))
51+
52+
### **Ruby**
53+
- Removed Java date dependency. ([#15122](https://github.com/SeleniumHQ/selenium/pull/15122))
54+
- Added WebDriver BiDi network response handler. ([#14900](https://github.com/SeleniumHQ/selenium/pull/14900))
55+
- Implemented WebDriver BiDi `setCacheBehavior` command. ([#15114](https://github.com/SeleniumHQ/selenium/pull/15114))
56+
57+
### **.NET**
58+
- Improved BiDi exception handling when it is not enabled. ([#15163](https://github.com/SeleniumHQ/selenium/pull/15163))
59+
- Added nullability annotations across multiple modules, including `Command`, `DriverService`, `FirefoxProfile`, `Manage()`, `SafariOptions`, and `Navigate()`.
60+
- Updated WebAuth credential handling. ([#15201](https://github.com/SeleniumHQ/selenium/pull/15201))
61+
- Simplified creation of network types. ([#15267](https://github.com/SeleniumHQ/selenium/pull/15267))
62+
- Improved logging stability. ([#15257](https://github.com/SeleniumHQ/selenium/pull/15257))
63+
64+
### **Docker Selenium**
65+
- Publish Node/Standalone images with the latest Grid core version and browser backward versions
66+
- Update container environment to JDK21 ([#2642](https://github.com/SeleniumHQ/docker-selenium/pull/2642))
67+
- Node base with share system certificate support ([#2653](https://github.com/SeleniumHQ/docker-selenium/pull/2653))
68+
- Node container is able to restart and retry to register when `register-period` exceeded ([#2662](https://github.com/SeleniumHQ/docker-selenium/pull/2662))
69+
- Selenium Grid scaler in KEDA feature preview
70+
- Add trigger param to set custom capabilities for matching specific Nodes ([KEDA#6536](https://github.com/kedacore/keda/pull/6536))
71+
- Add trigger param for Node enables managed downloads capability ([KEDA#6570](https://github.com/kedacore/keda/pull/6570))
72+
- Helm config: Set K8s node IP to all components via env var KUBERNETES_NODE_HOST_IP in template ([#2668](https://github.com/SeleniumHQ/docker-selenium/pull/2668))
73+
- [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases)
74+
75+
76+
<br>
77+
78+
We thank all our contributors for their incredible efforts in making Selenium better with every release. ❤️
79+
80+
For a detailed look at all changes, check out the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/4.29).
81+
82+
<br>
83+
84+
85+
## Contributors
86+
87+
**Special shout-out to everyone who helped the Selenium Team get this release out!**
88+
89+
### [Selenium](https://github.com/SeleniumHQ/selenium)
90+
91+
<div class="d-flex 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/Delta456" >}}
95+
{{< gh-user "https://api.github.com/users/iampopovich" >}}
96+
{{< gh-user "https://api.github.com/users/navin772" >}}
97+
{{< gh-user "https://api.github.com/users/smortex" >}}
98+
{{< gh-user "https://api.github.com/users/yvsvarma" >}}
99+
</div>
100+
</div>
101+
</div>
102+
103+
104+
### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io)
105+
106+
<div class="row justify-content-center">
107+
<div class="col-11 p-4 bg-transparent">
108+
<div class="row justify-content-center">
109+
{{< gh-user "https://api.github.com/users/AndreyJVM" >}}
110+
{{< gh-user "https://api.github.com/users/Delta456" >}}
111+
{{< gh-user "https://api.github.com/users/alaahong" >}}
112+
{{< gh-user "https://api.github.com/users/automatealchemist" >}}
113+
{{< gh-user "https://api.github.com/users/b2m" >}}
114+
{{< gh-user "https://api.github.com/users/pallavigitwork" >}}
115+
</div>
116+
</div>
117+
</div>
118+
119+
### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium)
120+
121+
<div class="row justify-content-center">
122+
<div class="col-11 p-4 bg-transparent">
123+
<div class="row justify-content-center">
124+
{{< gh-user "https://api.github.com/users/PeterUpfold" >}}
125+
{{< gh-user "https://api.github.com/users/StenAL" >}}
126+
{{< gh-user "https://api.github.com/users/amardeep2006" >}}
127+
{{< gh-user "https://api.github.com/users/calendir" >}}
128+
{{< gh-user "https://api.github.com/users/joshfng" >}}
129+
{{< gh-user "https://api.github.com/users/ritzk" >}}
130+
</div>
131+
</div>
132+
</div>
133+
134+
### [Selenium Team Members][team]
135+
136+
**Thanks as well to all the team members who contributed to this release:**
137+
138+
<div class="row justify-content-center">
139+
<div class="col-11 p-4 bg-transparent">
140+
<div class="row justify-content-center">
141+
{{< gh-user "https://api.github.com/users/aguspe" >}}
142+
{{< gh-user "https://api.github.com/users/AutomatedTester" >}}
143+
{{< gh-user "https://api.github.com/users/bonigarcia" >}}
144+
{{< gh-user "https://api.github.com/users/cgoldberg" >}}
145+
{{< gh-user "https://api.github.com/users/diemol" >}}
146+
{{< gh-user "https://api.github.com/users/harsha509" >}}
147+
{{< gh-user "https://api.github.com/users/joerg1985" >}}
148+
{{< gh-user "https://api.github.com/users/nvborisenko" >}}
149+
{{< gh-user "https://api.github.com/users/p0deje" >}}
150+
{{< gh-user "https://api.github.com/users/pujagani" >}}
151+
{{< gh-user "https://api.github.com/users/RenderMichael" >}}
152+
{{< gh-user "https://api.github.com/users/shbenzer" >}}
153+
{{< gh-user "https://api.github.com/users/shs96c" >}}
154+
{{< gh-user "https://api.github.com/users/titusfortner" >}}
155+
{{< gh-user "https://api.github.com/users/VietND96" >}}
156+
</div>
157+
</div>
158+
</div>
159+
160+
161+
162+
Stay tuned for updates by following SeleniumHQ on:
163+
- [Mastodon](https://mastodon.social/@[email protected])
164+
- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social)
165+
- [LinkedIn](https://www.linkedin.com/company/selenium/)
166+
- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams)
167+
- [X (Formerly Twitter)](https://twitter.com/seleniumhq)
168+
169+
Happy automating!
170+
171+
[downloads]: /downloads
172+
[bindings]: /downloads#bindings
173+
[team]: /project/structure
174+
[BiDi]: https://github.com/w3c/webdriver-bidi

website_and_docs/content/documentation/test_practices/testing_types.en.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,14 @@ Load testing is done to verify how well the
6363
application works under different defined loads
6464
(usually a particular number of users connected at once).
6565

66+
>For example, **_Testing that the site can handle numerous orders/users at once._**
67+
6668
#### Stress testing
6769
Stress testing is done to verify how well the
6870
application works under stress (or above the maximum supported load).
6971

72+
>For example, **_Testing that your ecommerce site can handle Black Friday_**
73+
7074
Generally, performance tests are done by executing some
7175
Selenium written tests simulating different users
7276
hitting a particular function on the web app and
@@ -89,6 +93,8 @@ This testing is generally done after a change, fix or feature addition.
8993

9094
To ensure that the change has not broken any of the existing
9195
functionality, some already executed tests are executed again.
96+
97+
>For example, **_Testing that your new search bar doesn't break the other buttons on the menu_**
9298
9399
The set of re-executed tests can be full or partial
94100
and can include several different types, depending

website_and_docs/content/documentation/test_practices/testing_types.ja.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ Webアプリケーションの場合、期待されるリターンをシミュ
4242
#### ロードテスト
4343
ロードテストは、定義されたさまざまな負荷(通常、特定の数のユーザーが同時に接続されている場合)でアプリケーションがどの程度機能するかを確認するために行われます。
4444

45+
>For example, **_Testing that the site can handle numerous orders/users at once._**
46+
4547
#### ストレステスト
4648
ストレステストは、ストレス下(またはサポートされている最大負荷以上)でアプリケーションがどの程度機能するかを確認するために行われます。
4749

50+
>For example, **_Testing that your ecommerce site can handle Black Friday_**
51+
4852
一般に、パフォーマンステストは、Seleniumで書かれたテストを実行して、さまざまなユーザーがWebアプリの特定の機能を押して、意味のある測定値を取得することをシミュレートして実行されます。
4953

5054
これは通常、メトリックを取得する他のツールによって行われます。
@@ -63,6 +67,8 @@ Webアプリケーションの場合、測定する詳細には、スループ
6367

6468
再実行されるテストのセットは、完全または部分的なものにすることができ、アプリケーションおよび開発チームに応じて、いくつかの異なるタイプを含めることができます。
6569

70+
>For example, **_Testing that your new search bar doesn't break the other buttons on the menu_**
71+
6672
### テスト駆動開発 (TDD)
6773
テストタイプそのものではなく、TDDはテストが機能の設計を推進する反復的な開発方法論です。
6874

website_and_docs/content/documentation/test_practices/testing_types.pt-br.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,14 @@ O teste de carga é feito para verificar o quão bem o
6363
aplicativo funciona sob diferentes cargas definidas
6464
(geralmente um determinado número de usuários conectados ao mesmo tempo).
6565

66+
>For example, **_Testing that the site can handle numerous orders/users at once._**
67+
6668
#### Teste de estresse
6769
O teste de estresse é feito para verificar o quão bem
6870
a aplicação funciona sob estresse (ou acima da carga máxima suportada).
6971

72+
>For example, **_Testing that your ecommerce site can handle Black Friday_**
73+
7074
Geralmente, os testes de estresse são feitos executando alguns
7175
testes escritos com Selenium simulando diferentes usuários
7276
utilizando uma função específica no aplicativo da web e
@@ -89,6 +93,8 @@ Esse teste geralmente é feito após uma alteração, correção ou adição de
8993

9094
Para garantir que a mudança não quebrou nenhumas das
9195
funcionalidades, alguns testes já executados são executados novamente.
96+
97+
>For example, **_Testing that your new search bar doesn't break the other buttons on the menu_**
9298
9399
O conjunto de testes re-executados pode ser total ou parcial
94100
e pode incluir vários tipos diferentes, dependendo

0 commit comments

Comments
 (0)