Commit Graph

540 Commits

Author SHA1 Message Date
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
Corey Goldberg
b3fc1b348e [py] Use ruff for linting and code formatting (#15746)
* Replaces the current Python linters (black, isort, docformatter, autoflake, flake8) with ruff
* Integrates it into the build system
* Formats all Python source files

---------

Co-authored-by: Alex Rodionov <p0deje@gmail.com>
2025-05-17 08:26:02 -04:00
Corey Goldberg
a413faa65a [py] Bump Python package requirements to latest versions (#15731)
* updates dependencies in `py/pyproject.toml` for packaging
* updates dependencies in `py/BUILD.bazel` for building/testing/packaging
* updates dependency versions in `py/requirements.txt`
* adds tox and its dependencies to `py/requirements.txt`
* updates Python CI job to use new version of tox
* adds missing pinned transient dependencies to `py/requirements.txt`
* generates new `py/requirements_lock.txt` with updated hashes
* fixes errors in tests that were failing due to deprecations in the newer version of PyTest
* removes trove license classifier from packaging data since it is now deprecated (license is already specified through `project.license` metadata)
2025-05-15 19:51:58 -04:00
Alex Rodionov
212fc8be35 [rb] Upgrade to Ruby 3.2
- CRuby 3.1 is EOL
- JRuby 10 is the latest
- TruffleRuby 24.2 is the latest
2025-05-12 12:32:49 -07:00
Selenium CI Bot
d17c8aa950 [build] Prepare for release of Selenium 4.32.0 (#15690)
* 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

* Moving Netty to 4.1.121.Final per @shs96c comment at bce221b7d1 (diff-6136fc12446089c3db7360e923203dd114b6a1466252e71667c6791c20fe6bdc)

* Updating changelogs

* Reverting undesired change in Rakefile

* Setting flag for Firefox setContext

* Format script

---------

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: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
2025-05-02 22:09:36 +02:00
Titus Fortner
70e415ad33 [build] allow manually rerunning RBE with cache disabled (#15680) 2025-05-02 11:07:13 -07:00
titusfortner
7a605634ae [build] used the wrong triage guide link in issues reply 2025-04-24 11:21:26 -07:00
titusfortner
23c766207f [build] skip running ruby lint in ci-ruby since there is a separate job for it run on every commit 2025-04-17 11:37:08 -07:00
titusfortner
44a87ed06f [build] request issues include a link to a gist for long logs 2025-04-16 16:33:05 -07:00
titusfortner
4ae8fc9f8a [build] get the workflows to call each other the right way 2025-04-04 19:12:17 -07:00
titusfortner
e915b39d23 [build] remove unnecessary complexity from updating docs job 2025-04-04 18:17:11 -07:00
titusfortner
44a872b9ee [build] nightly tag is getting in the way of the auto-changelog generation 2025-04-04 18:16:52 -07:00
titusfortner
1ef9f18787 [build] fix release so it works from PR as well as workflow dispatch 2025-04-04 17:32:54 -07:00
titusfortner
9dee74a27b bump pinned linux edge and driver to 135 2025-04-04 17:25:48 -07:00
Selenium CI Bot
db9bc53897 [build] Prepare for release of Selenium 4.31.0 (#15569)
* update pinned browser versions
* update devtools versions
* update selenium manager versions
* update maven dependency versions
* update authors file
* bump versions in preparation for release
* update changelogs

* [cdp] update Java and .NET signatures to match latest changes in CDP

* remove test guard - Edge v135 fixed the Keyboard bug

---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: titusfortner <titus.fortner@gmail.com>
Co-authored-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Co-authored-by: Titus Fortner <titusfortner@users.noreply.github.com>
2025-04-04 17:02:16 -07:00
titusfortner
e57ed802d4 [build] successful pre-release kicks off docs update kicks off bump in nightly
Docs need to be released with the release version
When pre-release PR is successfully merged,
An update-docs PR will be created and auto-merged
When update-docs PR is successfully merged,
A bump-nightly-version PR is created and auto-merged
Using PRs just to track potential problems, everything should auto close and clean
2025-04-04 11:20:31 -07:00
titusfortner
9dd1aa9b28 [build] use SELENIUM_CI_TOKEN for labeling PRs 2025-04-04 10:02:51 -07:00