Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SeleniumHQ/selenium
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e52b1be0574650813bf0985a7ddaa27500839ab6
Choose a base ref
...
head repository: SeleniumHQ/selenium
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b6bf9de7cc2a492a8d1d26e418005996075c698f
Choose a head ref
Loading
Showing with 6,373 additions and 6,736 deletions.
  1. +1 −1 .bazelversion
  2. +31 −2 .github/workflows/bazel.yml
  3. +2 −3 .github/workflows/ci-rbe.yml
  4. +29 −10 .github/workflows/ci-rust.yml
  5. +15 −0 .github/workflows/nightly.yml
  6. +51 −0 .github/workflows/pin-browsers.yml
  7. +110 −0 .github/workflows/pre-release.yml
  8. +4 −0 AUTHORS
  9. +156 −100 Rakefile
  10. +5 −5 WORKSPACE
  11. BIN common/images/selenium_logo_extra_extra_large.png
  12. BIN common/images/selenium_logo_extra_large.png
  13. BIN common/images/selenium_logo_extra_small.png
  14. BIN common/images/selenium_logo_large.png
  15. BIN common/images/selenium_logo_medium.png
  16. BIN common/images/selenium_logo_small.png
  17. +23 −23 common/mirror/selenium
  18. +27 −27 common/repositories.bzl
  19. +6 −6 common/selenium_manager.bzl
  20. +2 −0 common/src/redirected.html
  21. +4 −0 common/src/redirected_http_equiv.html
  22. +1 −1 cpp/iedriverserver/CHANGELOG
  23. +13 −0 dotnet/CHANGELOG
  24. +1 −1 dotnet/selenium-dotnet-version.bzl
  25. +8 −2 dotnet/src/webdriver/Chrome/ChromeDriverService.cs
  26. +19 −8 dotnet/src/webdriver/Chromium/ChromiumDriverService.cs
  27. +73 −0 dotnet/src/webdriver/DetachedShadowRootException.cs
  28. +2 −2 dotnet/src/webdriver/DevTools/v119/V119Network.cs
  29. +2 −2 dotnet/src/webdriver/DevTools/v120/V120Network.cs
  30. +2 −2 dotnet/src/webdriver/DevTools/v121/V121Network.cs
  31. +2 −2 dotnet/src/webdriver/DevTools/v85/V85Network.cs
  32. +1 −2 dotnet/src/webdriver/DriverService.cs
  33. +8 −1 dotnet/src/webdriver/Edge/EdgeDriverService.cs
  34. +8 −2 dotnet/src/webdriver/Firefox/FirefoxDriverService.cs
  35. +66 −0 dotnet/src/webdriver/HttpResponseContent.cs
  36. +16 −4 dotnet/src/webdriver/HttpResponseData.cs
  37. +8 −2 dotnet/src/webdriver/IE/InternetExplorerDriverService.cs
  38. +73 −0 dotnet/src/webdriver/InsecureCertificateException.cs
  39. +11 −3 dotnet/src/webdriver/NetworkResponseReceivedEventArgs.cs
  40. +20 −9 dotnet/src/webdriver/Remote/RemoteWebDriver.cs
  41. +8 −2 dotnet/src/webdriver/Safari/SafariDriverService.cs
  42. +6 −0 dotnet/src/webdriver/WebDriver.cs
  43. +23 −26 dotnet/src/webdriver/WebDriverError.cs
  44. +6 −1 dotnet/src/webdriver/WebDriverResult.cs
  45. +27 −0 java/CHANGELOG
  46. +32 −32 java/maven_deps.bzl
  47. +127 −126 java/maven_install.json
  48. +1 −1 java/src/org/openqa/selenium/HasDownloads.java
  49. +4 −4 java/src/org/openqa/selenium/Rectangle.java
  50. +1 −1 java/src/org/openqa/selenium/bidi/BrowsingContextInspector.java
  51. +62 −0 java/src/org/openqa/selenium/bidi/Network.java
  52. +67 −0 java/src/org/openqa/selenium/bidi/network/AddInterceptParameters.java
  53. +53 −0 java/src/org/openqa/selenium/bidi/network/FetchError.java
  54. +34 −0 java/src/org/openqa/selenium/bidi/network/InterceptPhase.java
  55. +55 −0 java/src/org/openqa/selenium/bidi/network/UrlPattern.java
  56. +1 −1 java/src/org/openqa/selenium/bidi/script/ArrayLocalValue.java
  57. +1 −1 java/src/org/openqa/selenium/bidi/script/DateLocalValue.java
  58. +1 −1 java/src/org/openqa/selenium/bidi/script/MapLocalValue.java
  59. +1 −1 java/src/org/openqa/selenium/bidi/script/ObjectLocalValue.java
  60. +1 −1 java/src/org/openqa/selenium/bidi/script/PrimitiveProtocolValue.java
  61. +1 −1 java/src/org/openqa/selenium/bidi/script/SetLocalValue.java
  62. +7 −3 java/src/org/openqa/selenium/devtools/events/CdpEventTypes.java
  63. +4 −3 java/src/org/openqa/selenium/grid/node/config/NodeFlags.java
  64. +4 −0 java/src/org/openqa/selenium/grid/node/config/NodeOptions.java
  65. +10 −0 java/src/org/openqa/selenium/grid/node/config/SessionCapabilitiesMutator.java
  66. +1 −2 java/src/org/openqa/selenium/grid/security/SecretOptions.java
  67. +1 −1 java/src/org/openqa/selenium/logging/LogType.java
  68. +15 −1 java/src/org/openqa/selenium/os/ExternalProcess.java
  69. +1 −1 java/src/org/openqa/selenium/remote/ErrorCodec.java
  70. +1 −1 java/src/org/openqa/selenium/remote/ErrorCodes.java
  71. +1 −3 java/src/org/openqa/selenium/remote/ErrorHandler.java
  72. +8 −15 java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java
  73. +24 −21 java/src/org/openqa/selenium/remote/http/jdk/JdkHttpClient.java
  74. +6 −1 java/src/org/openqa/selenium/remote/service/DriverService.java
  75. +6 −0 java/src/org/openqa/selenium/support/events/EventFiringDecorator.java
  76. +198 −0 java/src/org/openqa/selenium/support/events/WebDriverListener.java
  77. +1 −1 java/src/org/openqa/selenium/support/ui/FluentWait.java
  78. +25 −0 java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java
  79. +1 −1 java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java
  80. +0 −7 java/test/org/openqa/selenium/bidi/input/DefaultKeyboardTest.java
  81. +168 −0 java/test/org/openqa/selenium/bidi/network/AddInterceptParametersTest.java
  82. +166 −0 java/test/org/openqa/selenium/bidi/network/NetworkCommandsTest.java
  83. +28 −1 java/test/org/openqa/selenium/bidi/network/NetworkEventsTest.java
  84. +16 −0 java/test/org/openqa/selenium/grid/node/config/SessionCapabilitiesMutatorTest.java
  85. +2 −0 java/test/org/openqa/selenium/remote/AugmenterTest.java
  86. +1 −0 java/test/org/openqa/selenium/remote/ErrorHandlerTest.java
  87. +1 −0 java/test/org/openqa/selenium/remote/RemoteWebDriverInitializationTest.java
  88. +2 −0 java/test/org/openqa/selenium/remote/WebDriverFixture.java
  89. +1 −1 java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java
  90. +196 −1 java/test/org/openqa/selenium/support/events/EventFiringDecoratorTest.java
  91. +1 −0 java/test/org/openqa/selenium/support/ui/WebDriverWaitTest.java
  92. +1 −1 java/version.bzl
  93. +22 −1 javascript/node/selenium-webdriver/.eslintrc.js
  94. +1 −0 javascript/node/selenium-webdriver/.prettierrc
  95. +236 −196 javascript/node/selenium-webdriver/CHANGES.md
  96. +86 −0 javascript/node/selenium-webdriver/bidi/addInterceptParameters.js
  97. +144 −37 javascript/node/selenium-webdriver/bidi/browsingContext.js
  98. +13 −40 javascript/node/selenium-webdriver/bidi/browsingContextInspector.js
  99. +4 −10 javascript/node/selenium-webdriver/bidi/evaluateResult.js
  100. +2 −6 javascript/node/selenium-webdriver/bidi/filterBy.js
  101. +31 −29 javascript/node/selenium-webdriver/bidi/index.js
  102. +1 −4 javascript/node/selenium-webdriver/bidi/input.js
  103. +24 −0 javascript/node/selenium-webdriver/bidi/interceptPhase.js
  104. +15 −20 javascript/node/selenium-webdriver/bidi/logInspector.js
  105. +178 −0 javascript/node/selenium-webdriver/bidi/network.js
  106. +8 −2 javascript/node/selenium-webdriver/bidi/networkInspector.js
  107. +22 −49 javascript/node/selenium-webdriver/bidi/networkTypes.js
  108. +3 −9 javascript/node/selenium-webdriver/bidi/protocolType.js
  109. +6 −25 javascript/node/selenium-webdriver/bidi/protocolValue.js
  110. +2 −10 javascript/node/selenium-webdriver/bidi/realmInfo.js
  111. +20 −59 javascript/node/selenium-webdriver/bidi/scriptManager.js
  112. +58 −0 javascript/node/selenium-webdriver/bidi/urlPattern.js
  113. +1 −8 javascript/node/selenium-webdriver/chrome.js
  114. +27 −109 javascript/node/selenium-webdriver/chromium.js
  115. +1 −1 javascript/node/selenium-webdriver/common/driverFinder.js
  116. +9 −18 javascript/node/selenium-webdriver/common/seleniumManager.js
  117. +1 −3 javascript/node/selenium-webdriver/devtools/CDPConnection.js
  118. +1 −3 javascript/node/selenium-webdriver/edge.js
  119. +2 −5 javascript/node/selenium-webdriver/example/chrome_android.js
  120. +2 −4 javascript/node/selenium-webdriver/example/chrome_mobile_emulation.js
  121. +1 −3 javascript/node/selenium-webdriver/example/google_search.js
  122. +4 −10 javascript/node/selenium-webdriver/example/headless.js
  123. +3 −9 javascript/node/selenium-webdriver/example/logging.js
  124. +55 −109 javascript/node/selenium-webdriver/firefox.js
  125. +7 −10 javascript/node/selenium-webdriver/http/index.js
  126. +5 −15 javascript/node/selenium-webdriver/ie.js
  127. +7 −29 javascript/node/selenium-webdriver/index.js
  128. +1 −2 javascript/node/selenium-webdriver/io/exec.js
  129. +3 −3 javascript/node/selenium-webdriver/io/index.js
  130. +8 −30 javascript/node/selenium-webdriver/io/zip.js
  131. +2 −4 javascript/node/selenium-webdriver/lib/atoms/make-atoms-module.js
  132. +2 −9 javascript/node/selenium-webdriver/lib/by.js
  133. +3 −9 javascript/node/selenium-webdriver/lib/capabilities.js
  134. +3 −3 javascript/node/selenium-webdriver/lib/command.js
  135. +2 −9 javascript/node/selenium-webdriver/lib/error.js
  136. +34 −131 javascript/node/selenium-webdriver/lib/http.js
  137. +10 −34 javascript/node/selenium-webdriver/lib/input.js
  138. +3 −11 javascript/node/selenium-webdriver/lib/logging.js
  139. +2 −7 javascript/node/selenium-webdriver/lib/promise.js
  140. +3 −9 javascript/node/selenium-webdriver/lib/select.js
  141. +7 −33 javascript/node/selenium-webdriver/lib/test/fileserver.js
  142. +2 −7 javascript/node/selenium-webdriver/lib/test/httpserver.js
  143. +28 −49 javascript/node/selenium-webdriver/lib/until.js
  144. +1 −4 javascript/node/selenium-webdriver/lib/util.js
  145. +4 −22 javascript/node/selenium-webdriver/lib/virtual_authenticator.js
  146. +118 −297 javascript/node/selenium-webdriver/lib/webdriver.js
  147. +1 −5 javascript/node/selenium-webdriver/lib/webelement.js
  148. +1 −4 javascript/node/selenium-webdriver/net/index.js
  149. +9 −9 javascript/node/selenium-webdriver/package-lock.json
  150. +2 −1 javascript/node/selenium-webdriver/package.json
  151. +9 −24 javascript/node/selenium-webdriver/remote/index.js
  152. +6 −19 javascript/node/selenium-webdriver/remote/util.js
  153. +3 −8 javascript/node/selenium-webdriver/safari.js
  154. +31 −71 javascript/node/selenium-webdriver/test/actions_test.js
  155. +111 −0 javascript/node/selenium-webdriver/test/bidi/add_intercept_parameters_test.js
  156. +4 −7 javascript/node/selenium-webdriver/test/bidi/bidi_session_test.js
  157. +3 −6 javascript/node/selenium-webdriver/test/bidi/bidi_test.js
  158. +23 −11 javascript/node/selenium-webdriver/test/bidi/browsingcontext_inspector_test.js
  159. +17 −48 javascript/node/selenium-webdriver/test/bidi/browsingcontext_test.js
  160. +58 −117 javascript/node/selenium-webdriver/test/bidi/input_test.js
  161. +91 −107 javascript/node/selenium-webdriver/test/bidi/local_value_test.js
  162. +267 −0 javascript/node/selenium-webdriver/test/bidi/locate_nodes_test.js
  163. +16 −19 javascript/node/selenium-webdriver/test/bidi/log_inspector_test.js
  164. +107 −0 javascript/node/selenium-webdriver/test/bidi/network_commands_test.js
  165. +72 −73 javascript/node/selenium-webdriver/test/bidi/network_test.js
  166. +117 −300 javascript/node/selenium-webdriver/test/bidi/script_test.js
  167. +4 −17 javascript/node/selenium-webdriver/test/builder_test.js
  168. +39 −0 javascript/node/selenium-webdriver/test/chrome/cast_test.js
  169. +11 −37 javascript/node/selenium-webdriver/test/chrome/devtools_test.js
  170. +11 −45 javascript/node/selenium-webdriver/test/chrome/options_test.js
  171. +20 −43 javascript/node/selenium-webdriver/test/chrome/permission_test.js
  172. +1 −1 javascript/node/selenium-webdriver/test/chrome/service_test.js
  173. +44 −57 javascript/node/selenium-webdriver/test/cookie_test.js
  174. +50 −81 javascript/node/selenium-webdriver/test/devtools_test.js
  175. +8 −33 javascript/node/selenium-webdriver/test/edge/options_test.js
  176. +1 −1 javascript/node/selenium-webdriver/test/edge/service_test.js
  177. +8 −20 javascript/node/selenium-webdriver/test/elementAccessibleName_test.js
  178. +1 −1 javascript/node/selenium-webdriver/test/elementAriaRole_test.js
  179. +59 −120 javascript/node/selenium-webdriver/test/element_finding_test.js
  180. +19 −53 javascript/node/selenium-webdriver/test/execute_script_test.js
  181. +2 −4 javascript/node/selenium-webdriver/test/fingerprint_test.js
  182. +14 −42 javascript/node/selenium-webdriver/test/firefox_test.js
  183. +6 −24 javascript/node/selenium-webdriver/test/frame_test.js
  184. +14 −61 javascript/node/selenium-webdriver/test/http/http_test.js
  185. +8 −8 javascript/node/selenium-webdriver/test/http/util_test.js
  186. +6 −16 javascript/node/selenium-webdriver/test/ie/options_test.js
  187. +24 −62 javascript/node/selenium-webdriver/test/io/io_test.js
  188. +5 −14 javascript/node/selenium-webdriver/test/io/zip_test.js
  189. +6 −9 javascript/node/selenium-webdriver/test/lib/api_test.js
  190. +2 −6 javascript/node/selenium-webdriver/test/lib/by_test.js
  191. +29 −45 javascript/node/selenium-webdriver/test/lib/capabilities_test.js
  192. +18 −48 javascript/node/selenium-webdriver/test/lib/credentials_test.js
  193. +10 −10 javascript/node/selenium-webdriver/test/lib/error_test.js
  194. +1 −1 javascript/node/selenium-webdriver/test/lib/form_submit_test.js
  195. +73 −221 javascript/node/selenium-webdriver/test/lib/http_test.js
  196. +12 −50 javascript/node/selenium-webdriver/test/lib/input_test.js
  197. +9 −40 javascript/node/selenium-webdriver/test/lib/logging_test.js
  198. +21 −59 javascript/node/selenium-webdriver/test/lib/promise_test.js
  199. +60 −153 javascript/node/selenium-webdriver/test/lib/until_test.js
  200. +1 −2 javascript/node/selenium-webdriver/test/lib/virtualauthenticatoroptions_test.js
  201. +59 −192 javascript/node/selenium-webdriver/test/lib/webdriver_test.js
  202. +63 −74 javascript/node/selenium-webdriver/test/logging_test.js
  203. +8 −11 javascript/node/selenium-webdriver/test/net/index_test.js
  204. +2 −5 javascript/node/selenium-webdriver/test/page_loading_test.js
  205. +1 −1 javascript/node/selenium-webdriver/test/print_pdf_test.js
  206. +16 −57 javascript/node/selenium-webdriver/test/proxy_test.js
  207. +1 −3 javascript/node/selenium-webdriver/test/rect_test.js
  208. +3 −8 javascript/node/selenium-webdriver/test/remote_test.js
  209. +1 −1 javascript/node/selenium-webdriver/test/safari_test.js
  210. +34 −100 javascript/node/selenium-webdriver/test/select_test.js
  211. +8 −15 javascript/node/selenium-webdriver/test/stale_element_test.js
  212. +47 −63 javascript/node/selenium-webdriver/test/upload_test.js
  213. +220 −255 javascript/node/selenium-webdriver/test/virtualAuthenticator_test.js
  214. +7 −21 javascript/node/selenium-webdriver/test/webComponent_test.js
  215. +2 −9 javascript/node/selenium-webdriver/test/window_test.js
  216. +6 −11 javascript/node/selenium-webdriver/testing/index.js
  217. +1 −0 javascript/node/selenium-webdriver/tools/init_jasmine.js
  218. +18 −1 py/BUILD.bazel
  219. +11 −0 py/CHANGES
  220. +2 −2 py/docs/source/conf.py
  221. +1 −0 py/requirements.txt
  222. +189 −5 py/requirements_lock.txt
  223. +1 −1 py/selenium/__init__.py
  224. +1 −1 py/selenium/webdriver/__init__.py
  225. +2 −2 py/setup.py
  226. +1 −1 py/test/unit/selenium/webdriver/support/color_tests.py
  227. +4 −4 py/tox.ini
  228. +1 −1 rake_tasks/bazel.rb
  229. +0 −89 rake_tasks/copyright.rb
  230. +6 −0 rb/CHANGES
  231. +28 −22 rb/Gemfile.lock
  232. +1 −1 rb/README.md
  233. +1 −1 rb/lib/selenium/webdriver/version.rb
  234. +2 −1 rb/selenium-webdriver.gemspec
  235. +1 −1 rb/spec/unit/selenium/webdriver/wait_spec.rb
  236. +1 −1 rust/BUILD.bazel
  237. +12 −0 rust/CHANGELOG.md
  238. +320 −1,322 rust/Cargo.Bazel.lock
  239. +82 −204 rust/Cargo.lock
  240. +11 −11 rust/Cargo.toml
  241. +18 −4 rust/src/lib.rs
  242. +19 −29 rust/src/logger.rs
  243. +6 −1 rust/src/main.rs
  244. +42 −0 rust/src/metadata.rs
  245. +2 −2 rust/src/stats.rs
  246. +5 −0 scripts/BUILD.bazel
  247. +3 −0 scripts/format.sh
  248. +111 −0 scripts/update_copyright.py
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.2
6.5.0
33 changes: 31 additions & 2 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
@@ -26,6 +26,11 @@ on:
required: false
type: string
default: ''
caching:
description: Toggle caching of Bazel
required: false
type: boolean
default: true
cache-key:
description: Bazel disk cache key
required: false
@@ -46,6 +51,11 @@ on:
required: false
type: string
default: ''
artifact-name:
description: Name of artifact to upload
required: false
type: string
default: 'ignore-artifacts'

jobs:
bazel:
@@ -55,6 +65,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEL_M2_USER: ${{ secrets.SEL_M2_USER }}
SEL_M2_PASS: ${{ secrets.SEL_M2_PASS }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
SE_AVOID_STATS: true
steps:
- name: Checkout source tree
@@ -81,8 +93,9 @@ jobs:
with:
java-version: ${{ inputs.java-version }}
distribution: 'temurin'
- name: Setup Bazel
uses: p0deje/setup-bazel@0.4.0
- name: Setup Bazel with caching
if: inputs.caching
uses: p0deje/setup-bazel@0.6.0
with:
bazelisk-cache: true
bazelrc: common --color=yes
@@ -95,6 +108,11 @@ jobs:
pypi__pip: py/requirements_lock.txt
ruby: ${{ inputs.os == 'windows' && 'false' || 'rb/.ruby-version' }}
repository-cache: true
- name: Setup Bazel without caching
if: inputs.caching == false
uses: p0deje/setup-bazel@0.6.0
with:
bazelrc: common --color=yes
- name: Setup Fluxbox and Xvfb
if: inputs.os == 'ubuntu' && inputs.browser != ''
run: |
@@ -140,3 +158,14 @@ jobs:
title: "Nightly"
prerelease: true
files: ${{ inputs.nightly-release-files }}
- name: Save changes
if: ${{ always() && inputs.artifact-name != 'ignore-artifacts' }}
run: |
git diff > changes.patch
- name: "Upload changes"
if: ${{ always() && inputs.artifact-name != 'ignore-artifacts' }}
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact-name }}
path: changes.patch
retention-days: 6
5 changes: 2 additions & 3 deletions .github/workflows/ci-rbe.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
uses: ./.github/workflows/bazel.yml
with:
name: Check format script run
cache-key: rbe
caching: false
ruby-version: jruby-9.4.5.0
run: ./scripts/github-actions/check-format.sh

@@ -23,8 +23,7 @@ jobs:
if: github.repository_owner == 'seleniumhq'
uses: ./.github/workflows/bazel.yml
with:
# TODO: experiment with turning off caches
name: All RBE tests
cache-key: rbe
caching: false
ruby-version: jruby-9.4.5.0
run: ./scripts/github-actions/ci-build.sh
39 changes: 29 additions & 10 deletions .github/workflows/ci-rust.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,15 @@ name: CI - Rust

on:
workflow_call:
inputs:
release:
required: false
type: string
default: false
branch:
required: false
type: string
default: trunk
secrets:
SELENIUM_CI_TOKEN:
required: true
@@ -43,6 +52,8 @@ jobs:
steps:
- name: "Checkout project"
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: "Update Rust"
run: |
rustup update
@@ -55,7 +66,7 @@ jobs:
- name: "Rename binary"
run: mv rust/target/release/selenium-manager.exe selenium-manager-windows.exe
- name: "Upload release binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: selenium-manager-windows
path: selenium-manager-windows.exe
@@ -71,6 +82,8 @@ jobs:
steps:
- name: "Checkout project"
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: "Update Rust"
run: |
rustup update
@@ -83,7 +96,7 @@ jobs:
- name: "Rename binary"
run: mv rust/target/debug/selenium-manager.exe selenium-manager-windows-debug.exe
- name: "Upload release binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: selenium-manager-windows-debug
path: selenium-manager-windows-debug.exe
@@ -97,21 +110,22 @@ jobs:
steps:
- name: "Checkout project"
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: "Update Rust"
run: |
rustup update
rustc -vV
- name: "Install cross"
run: |
cargo install cross --git https://github.com/cross-rs/cross
cross -V
- name: "Build release binary"
run: cross build --target x86_64-unknown-linux-musl --release
working-directory: rust
- name: "Rename binary"
run: mv rust/target/x86_64-unknown-linux-musl/release/selenium-manager selenium-manager-linux
- name: "Upload release binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: selenium-manager-linux
path: selenium-manager-linux
@@ -125,22 +139,23 @@ jobs:
steps:
- name: "Checkout project"
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: "Update Rust"
run: |
rustup update
rustc -vV
- name: "Install cross"
run: |
cargo install cross --git https://github.com/cross-rs/cross
cross -V
- name: "Build release binary"
run: |
cross build --target x86_64-unknown-linux-musl --profile dev
cd target/x86_64-unknown-linux-musl/debug
tar -cvf ../../../../selenium-manager-linux-debug.tar selenium-manager
working-directory: rust
- name: "Upload release binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: selenium-manager-linux-debug
path: selenium-manager-linux-debug.tar
@@ -156,6 +171,8 @@ jobs:
steps:
- name: "Checkout project"
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: "Update Rust"
run: |
rustup update
@@ -170,7 +187,7 @@ jobs:
target/x86_64-apple-darwin/release/selenium-manager
working-directory: rust
- name: "Upload release binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: selenium-manager-macos
path: rust/target/selenium-manager-macos
@@ -186,6 +203,8 @@ jobs:
steps:
- name: "Checkout project"
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: "Update Rust"
run: |
rustup update
@@ -202,7 +221,7 @@ jobs:
tar -cvf ../../selenium-manager-macos-debug.tar selenium-manager
working-directory: rust
- name: "Upload release binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: selenium-manager-macos-debug
path: selenium-manager-macos-debug.tar
@@ -212,15 +231,15 @@ jobs:
name: "Release Binaries"
runs-on: ubuntu-latest
needs: [macos-stable, linux-stable, windows-stable, macos-debug, linux-debug, windows-debug]
if: github.event_name != 'schedule' && github.repository_owner == 'seleniumhq' && github.ref == 'refs/heads/trunk'
if: github.event_name != 'schedule' && github.repository_owner == 'seleniumhq' && (github.ref == 'refs/heads/trunk' || inputs.release == 'true')
steps:
- name: "Checkout selenium_manager_artifacts"
uses: actions/checkout@v4
with:
token: ${{ secrets.SELENIUM_CI_TOKEN }}
repository: SeleniumHQ/selenium_manager_artifacts
- name: "Download Artifacts"
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: artifacts
- name: "Prepare and Commit"
15 changes: 15 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ on:
options:
- java
- ruby
- python
- grid

jobs:
@@ -37,6 +38,20 @@ jobs:
bazel run //rb:${{ matrix.gem }}-bump-nightly-version ${{ inputs.version }}
bazel run //rb:${{ matrix.gem }}-release-nightly
python:
if: (github.repository_owner == 'seleniumhq') && (inputs.language == 'python' || github.event_name == 'schedule')
name: Python
uses: ./.github/workflows/bazel.yml
with:
name: Release
cache-key: python-nightly
run: |
./go "py:version[nightly]"
./go py:build
pip install twine
twine upload --repository testpypi bazel-bin/py/selenium-4*.whl bazel-bin/py/selenium-4*.tar.gz
secrets: inherit


java:
if: (github.repository_owner == 'seleniumhq') && (inputs.language == 'java' || github.event_name == 'schedule')
51 changes: 51 additions & 0 deletions .github/workflows/pin-browsers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Pin Browsers
on:
schedule:
- cron: 10 0 * * *
workflow_dispatch:

jobs:
update:
name: Update Pinned Browsers
uses: ./.github/workflows/bazel.yml
with:
name: Pin Browsers
cache-key: pin-browsers
run: bazel run //scripts:pinned_browsers
artifact-name: pinned-browsers

pull-request:
if: github.repository_owner == 'seleniumhq'
runs-on: ubuntu-latest
needs: update
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download patch
uses: actions/download-artifact@v4
with:
name: pinned-browsers
- name: Apply Patch
run: |
git apply changes.patch
rm changes.patch
- name: Check Changes
run: |
if [[ -n $(git status --porcelain common/repositories.bzl) ]]; then
echo "CHANGES_FOUND=true" >> $GITHUB_ENV
fi
- name: Create Pull Request
if: env.CHANGES_FOUND == 'true'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.SELENIUM_CI_TOKEN }}
add-paths: common/repositories.bzl
commit-message: "Update pinned browser versions"
committer: Selenium CI Bot <selenium-ci@users.noreply.github.com>
author: Selenium CI Bot <selenium-ci@users.noreply.github.com>
title: "[dotnet][rb][java][js][py] Automated Browser Version Update"
body: |
This is an automated pull request to update pinned browsers and drivers
Merge after verify the new browser versions properly passing the tests and no bugs need to be filed
branch: "pinned-browser-updates"
Loading