656 Commits

Author SHA1 Message Date
Titus Fortner
fd1d5bc246 [build] make sure failed bazel steps are marked failed by github shell
Windows GitHub runner uses- shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
2026-01-06 07:17:57 -06:00
Titus Fortner
387f7795f7 [java][py][rb][js][dotnet] rerun failing tests when requested (#16840)
* [build] rerun failing tests when requested

* bash on windows needs extra commands

* use awk not tac

* put failures in build rather than dealing with symlinks
2026-01-05 16:06:47 -06:00
Titus Fortner
6e38144969 [build] be more specific about which pinned repos are cached to github 2026-01-05 10:38:07 -06:00
Titus Fortner
35f1090add [build] fix lint problems automatically (#16780)
* [build] fix lint problems automatically

* do not commit the patch file

* commit-fixes job should not fail when it properly commits the fixes

* move format code to new workflow

* ruby needs curl
2026-01-04 17:08:53 -06:00
Corey Goldberg
80b13e80f7 [py] Fix remaining mypy errors and enable CI for type checking (#16837) 2026-01-04 02:04:04 +07:00
Corey Goldberg
13af249550 [py] Fix type annotations, make docstrings consistent, centralize dev dependencies (#16821) 2025-12-31 12:22:54 -05:00
Titus Fortner
58736b2475 [build] fix permissions for update-documentation 2025-12-29 11:28:31 -06:00
Titus Fortner
f2002fcf3a [dotnet][java][py][rb][rust] Only use External Cache for GitHub Actions (#16788)
* disable repository and directory cache

* cache ruby windows, do not cache pin browsers
2025-12-29 09:20:33 -06:00
Boni García
59ef15e800 [ci] Use macos-latest instead of macos-13 in Rust workflow (#16803) 2025-12-28 18:08:32 +01:00
Titus Fortner
4c64df2cde [build] fix issue trying to guard actions run on forks (#16800)
* [build] fix issue trying to guard actions run on forks
2025-12-27 13:05:43 -06:00
Titus Fortner
6017825e5b [build] do not cancel rbe builds when merging to trunk 2025-12-24 11:59:34 -06:00
Titus Fortner
4d34904f8d [py][build]: consolidate Python CI tests (#16766)
* all browser tests run in one suite

* remove separate headless test - just use the bazel flag for any browser

* move fsutil command for short names on windows to bazel

* maybe unit tests need to be single threaded for windows
2025-12-24 11:27:29 -06:00
Augustin Gottlieb
175b59bd38 [rb] Fix steep issues (#16752)
* Add Steep type check to Ruby CI workflow

* Fix Steep CI job to use native Ruby setup instead of Bazel

* Suppress verbose Steep logging in CI and remove problematic diagnostics config
2025-12-24 11:06:45 -06:00
Titus Fortner
bb4ce226bf [build] nightly job needs permissions to write to packages 2025-12-23 18:57:29 -06:00
Titus Fortner
973dbe6567 [build] add explicit permissions to github workflows (#16774)
* RBE needs to read packages
2025-12-23 11:25:30 -06:00
Titus Fortner
68e7c52291 [build] Pin Browsers in Bazel by default (#16743)
* [build] set pin_browsers to true by default
2025-12-20 10:34:27 -06:00
Selenium CI Bot
126f156aee [build] Prepare for release of Selenium 4.39.0 (#16672)
* update devtools versions

* update selenium manager versions

* update maven dependency versions

* update authors file

* bump versions in preparation for release

* WIP - rough auto-update of changelog, please edit

* Update selenium-manager-windows.exe SHA after signing with EV token

* [rust] Update lock files

* Removing offending string

* Fixing changelogs

[skip ci]

---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Boni Garcia <boni.garcia@uc3m.es>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
Co-authored-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Co-authored-by: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@gmail.com>
2025-12-06 23:19:21 +01:00
Andrei Solntsev
c5bb3c9752 16612 download large files (#16627)
* #16612 support downloading large files from Grid

I added a new Grid endpoint "/se/files/:name" which allows downloading the file directly, without encoding it to Base64 and adding to Json. This transformation kills the performance and causes OutOfMemory errors for large files (e.g. 256+ MB).

NB! Be sure that `toString()` method of objects (HttpRequest, HttpResponse, Contents.Supplier) never returns too long string - it spam debug logs and can cause OOM during debugging.

* #16612 extract anonymous implementations of `Contents.Supplier` to separate classes

It makes debugging easier. You can easily see what instances they are and where they come from.

* #16612 optimize method `RemoteWebDriver.downloadFile()`

Instead of reading the whole file to a byte array, just save given InputStream directly to the file.

Now it can download large files (I tried 4GB) while consuming very low memory.

* #16612 just in case, return `Contents.fromStream` only when downloading files.

For json responses, still return `Contents.bytes` which allows re-reading its content multiple times. Just in case.

* #16612 fix flaky test: wait until the downloads folder gets deleted

After stopping a Grid node, the folder is deleted asynchronously (by cache removal listener). So we need to wait for it in test.

* #16612 fix flaky test: wait until the grid node is fully stopped

At least on my machine, stopping the node takes some time, and any checks right after `node.stop(sessionId)` often can fail.

* #16612 fix flaky test LocalNewSessionQueueTest

Gr... This is extremely hard to debug test.

After hours of debugging, I came to a conclusion that we just need to increase the timeout. On my machine, `latch` gets decreased after ~1.2 seconds. So 1 second was not enough.

* #16612 fix flaky test JdkHttpClientTest

I don't know why, but sometimes we receive `HttpTimeoutException` instead of `InterruptedException`. Seems reasonable to consider execution as interrupted in both cases. (?)

* #16612 remove unneeded code

None of `is.readNBytes` implementations returns -1. It always returns 0 or positive number.

* #16612 upload logs in case of test failure

* ignore few more IDEA files

* #16612 slightly improve logging in `W3CHttpResponseCodec.decode`

Don't log the entire response body - just content type and length.
2025-11-28 09:55:04 +01:00
Navin Chandra
0c17ff17f1 [ci]: remove concurrency checks in child workflows (#16633) 2025-11-25 13:36:41 +05:30
Navin Chandra
470e6fd09d [ci]: cancel previous CI run in case of new commit/push (#16624) 2025-11-24 11:28:50 +05:30
Boni García
7a532ba3cf [ci] Use pagination in mirror workflow to get all Selenium releases (#16605) 2025-11-18 16:25:54 +01:00
Boni García
bdb33cf05e [ci] Revert latest changes related to the mirror workflow (#16580)
* Revert "[ci] Update mirror info (2025-11-11T15:26:46Z) (#16578)"

This reverts commit 2b5da89b8f.

* Revert "[ci] Make a PR for updating mirror file instead of pushing directly to trunk (#16579)"

This reverts commit 0e7508261b.
2025-11-11 17:21:34 +01:00
Boni García
0e7508261b [ci] Make a PR for updating mirror file instead of pushing directly to trunk (#16579) 2025-11-11 16:38:14 +01:00
Titus Fortner
6b412e825c fix workflows for updating documentation from stage release (#16506) 2025-10-24 19:44:37 -05:00
Selenium CI Bot
281a200913 [build] Prepare for release of Selenium 4.38.0 (#16499)
* update devtools versions
* update selenium manager versions
* update maven dependency versions
* update authors file
* bump versions in preparation for release
* update changelogs
---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Titus Fortner <titusfortner@users.noreply.github.com>
Co-authored-by: titusfortner <titus.fortner@gmail.com>
2025-10-24 18:56:25 -05:00
Titus Fortner
4101ce1b29 [build] fix update-documentation workflow (#16505) 2025-10-24 18:55:03 -05:00
Selenium CI Bot
3c1da1e342 [build] Prepare for release of Selenium 4.37.0 (#16451)
* update pinned browser versions

* update devtools versions

* update selenium manager versions

* update maven dependency versions

* update authors file

* bump versions in preparation for release

* WIP - rough auto-update of changelog, please edit

* Formatting file for build

* Updating changelogs

* Updating changelogs

* Update CHANGELOG one point was missing in last release

Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>

* Update SHA for signed Selenium Manager binary in Windows

* Update CHANGELOG

* Update CHANGES file for Selenium 4.37.0

---------

Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@gmail.com>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
Co-authored-by: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com>
Co-authored-by: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com>
Co-authored-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Co-authored-by: Boni Garcia <boni.garcia@uc3m.es>
2025-10-17 23:07:57 +02:00
Corey Goldberg
43d93a92b9 [py] Use Chrome instead of Firefox for internal Remote tests (#16419) 2025-10-16 10:50:06 -04:00
Corey Goldberg
517c7e422b [py] Support Python 3.14 and drop Python 3.9 (#16342) 2025-10-15 13:06:32 -04:00
Corey Goldberg
2e0159a38f [py][build] Re-add Windows to CI workflows on GHA runners (#16396) 2025-10-09 09:37:22 -04:00
Corey Goldberg
3f9c5cb0cb [py] Fix Selenium Manager tests on Windows (#16391)
* [py] Fix Selenium Manager tests on Windows
* [py] Remove Windows tests from CI workflows
* [py] Combine bazel commands to prevent false passes
2025-10-06 20:17:48 -04:00
Corey Goldberg
64778708e3 [py][build] Python CI - add unit test job and windows integration tests to GH runners (#16362) 2025-10-05 09:15:07 -04:00
Selenium CI Bot
6d115cfd87 [build] Prepare for release of Selenium 4.36.0 (#16332)
* update devtools versions

* update selenium manager versions

* update maven dependency versions

* update authors file

* bump versions in preparation for release

* WIP - rough auto-update of changelog, please edit

* Update sha256 for signed selenium-manager-windows.exe artifact

* Updating tests and linting readme.

* Updating Gemfile.lock

* Rolling back json upgrade

* Pinning rust lock

* Pinning rust lock

* Removing guards and switching to macOS

[skip ci]

* Removing guards

---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
Co-authored-by: Boni Garcia <boni.garcia@uc3m.es>
Co-authored-by: Diego Molina <diemol@gmail.com>
2025-10-02 16:54:38 +02:00
Corey Goldberg
d6b9bc4ff2 [build] Bump setup-python version in workflows (#16301) 2025-09-08 08:52:12 -04:00
Diego Molina
e09a602963 Ignoring docker image updates. 2025-08-22 11:15:53 +02:00
Diego Molina
dbfa4f31fe Not closing PR before reviewing it. 2025-08-22 11:11:40 +02:00
Diego Molina
38d5d1aa9a Fixing workflow to update docs after release. 2025-08-14 22:11:30 +02:00
Diego Molina
3fa33b7885 Generating docs even if it is nightly
[skip ci]
2025-08-14 19:21:00 +02:00
Selenium CI Bot
1c58e5028b [build] Prepare for release of Selenium 4.35.0 (#16160)
* update devtools versions

* update selenium manager versions

* update maven dependency versions

* update authors file

* bump versions in preparation for release

* WIP - rough auto-update of changelog, please edit

* Fixing changelogs and downgrading Netty to 4.1.121

---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@gmail.com>
2025-08-12 16:27:59 +02:00
Selenium CI Bot
f4ddfc1332 [dotnet][rb][java][js][py] Automated Browser Version Update (#16064)
* Update pinned browser versions

* [rb] Enabling passing test

* [java] Fixing testShouldDoNothingIfThereIsNothingToGoBackTo

* Fixing more tests

* Running test only for Chrome and Edge

* Executing NetworkInterceptorRestTest in GH runners

* Skipping test for FF beta for now

* Adjusting workflows

---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@gmail.com>
2025-08-07 22:58:53 +02:00
Diego Molina
fb20ae4b87 Fixing stale message 2025-07-03 12:40:01 +02:00
Navin Chandra
f787770482 [py][java][rb][ci]: use pinned browsers in CI (#15987) 2025-07-02 16:25:13 +05:30
Selenium CI Bot
2a4c61c498 [build] Prepare for release of Selenium 4.34.0 (#15958) 2025-06-28 23:44:16 +02:00
Diego Molina
8061b17ccb [ci] Letting the workflow continue if browsers are up to date 2025-06-25 17:49:22 +02:00
Sri Harsha
33a673ed1f i: Update Grid UI CI from Node.js 18 to 20 for type compatibility 2025-06-24 15:42:37 -04:00
Corey Goldberg
367c8c1915 [py] Bump requirements for packaging and dev (#15909)
* [py] Bump python requirements
* [py] Bump requirements lock
* [py] Update unit tests
2025-06-19 15:44:06 -04:00
Corey Goldberg
c65425f611 [py] Remove publication of typing coverage in CI (#15886) 2025-06-11 10:52:23 -04:00
Alex Rodionov
64ec4e8ddc Bump setup-bazel action (#15802) 2025-05-27 08:32:48 -07:00
Selenium CI Bot
2c6aaad03a [build] Prepare for release of Selenium 4.33.0 (#15776) 2025-05-23 17:18:15 +02:00
Viet Nguyen Duc
e3a6119b86 [ci] Workflow for Grid UI component tests (#15778)
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
2025-05-23 11:25:26 +07:00