Skip to content

Conversation

@asolntsev
Copy link
Contributor

@asolntsev asolntsev commented Jan 27, 2026

Change list

Try to build the project with the latest Selenium x.y.z-SNAPSHOT version (nightly build).
It would help to detect compatibility issues with the latest Selenium changes on an early stage.

The snapshot version is taken from https://raw.githubusercontent.com/SeleniumHQ/selenium/refs/heads/trunk/java/version.bzl

Alternatives

Another approach (probably better) is to create a separate GitHub Action script that will be executed nightly (independently from PRs).

In Selenide, we run such a job at 6:06 every night: https://github.com/selenide/selenide/blob/main/.github/workflows/test-with-selenium-nightly-build.yml

Types of changes

  • No changes in production code.

It would help to avoid issues like this: #2383

@valfirst @mykola-mokhnach

@asolntsev asolntsev marked this pull request as draft January 27, 2026 12:59
@asolntsev asolntsev force-pushed the run-nightly-builds-against-selenium-snapshot branch 6 times, most recently from a0a6557 to 8b78518 Compare January 27, 2026 13:16
Now GA build contains two steps:
1. Build with Selenium 4.41.0-SNAPSHOT (the latest nightly build)
2. Build with Selenium 4.40.0 (currently stable version)

It will help to detect compatibility problems with the latest Selenium changes on an early stage.
@asolntsev asolntsev force-pushed the run-nightly-builds-against-selenium-snapshot branch from 8b78518 to 73ea421 Compare January 27, 2026 13:20
@asolntsev asolntsev marked this pull request as ready for review January 27, 2026 13:22
@asolntsev asolntsev changed the title Run nightly builds against selenium snapshot build: run nightly builds against selenium snapshot Jan 27, 2026
# echo ">>> $latest_snapshot"
# echo "latest_snapshot=$latest_snapshot" >> "$GITHUB_ENV"
# ./gradlew clean build -PisCI -Pselenium.version=$latest_snapshot
- name: Build with Gradle against Selenium nightly build
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not "nightly" here

Copy link
Contributor Author

@asolntsev asolntsev Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not "nightly" here

Yes, it's an incorrect name for the PR. :)

So we have to choose one of two strategies:

  1. Run every build against two Selenium versions (like now)
  2. Run a separate nightly build from main branch against nightly Selenium build

@valfirst Which one do you prefer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants