Released Selenide 7.9.2

Released Selenide 7.9.2

The holiday release
08.05.25

Hiiiee!

White smoke has emerged, signalling a new release has been made: Selenide 7.9.2.


Fixed colors on video

In November, we added video recorder to Selenide. This is an insanely useful feature for debugging tests, but turns out the generated videos had some color defects.

Before

On the left, there is the original web page. On the right - how it looked in videos:

colors in video: before

Some colors have been changed, while others stayed the same. Possibly that’s why this issue went unnoticed for a while.

After

How the video looks like AFTER the fix:

colors in video: after

Still not perfect, but the colors are fixed.

The only thing I had to do was to change one tiny true to false. ¯¯_(ツ)_/¯¯

Can you guess which exactly?

See issue 2973 and PR 3024.


Optimized video recorder

Now video recorder will consume significantly less CPU.

The initial implementation of the video recorder started rendering video immediately after test start. But in most cases, the test stays green, and the video file gets removed.

Now the video recorder will only take screenshots and store them to a temporary folder during the test. And only if the test fails, video rendering will be started.

Pros: Lower CPU usage
Cons: the final video will be ready a bit later.

See issue 3022 and PR 3024.


Attach video files

In the previous release, we added logging of screenshots in format [[ATTACHMENT|screenshot.png]], which is readable by GitLab and Jenkins (at least).

Now video files will be logged in the same manner:

[[ATTACHMENT|/projects/magura/build/reports/tests/1746735811373.0.webm]]

At least GitLab and Jenkins will automatically attach these files to build results.

See issue 2992 and PR 3024.


Updated to Selenium 4.32.0

Here is changelog, including:

  • Updated Selenium from 4.31.0 to 4.32.0
  • Updated CDP from 135 to 136

See PR 3020.


Fixed ClassCastException

Fixed ClassCastException in module selenide-appium. It happened if you added dependency selenide-appium (writing tests for mobile apps), but opened a web browser and called $.scroll(ScrollOptions).

See issue 3014 and PR 3015.


Slightly improved loops performance

Thanks to Luis Serna for PR 3013.


Peace be with you!


Andrei Solntsev

selenide.org

08.05.25