Skip to content

[🐛 Bug]: The standalone driver with a video recorder sidecar takes too long to stop the recorder (versions 20260303 and above) #3129

Description

@javiertuya

What happened?

I’m running a standalone Chrome driver with a video recorder sidecar. On container versions 20260202, stopping the video recorder takes less than 2 seconds, but after upgrading to versions 20260303 or 20260404, it now takes 10 seconds. I’m still using the old method with SE_VIDEO_EVENT_DRIVEN=false.

To reproduce, copy the following files to a temporary folder:

compose-test.yml

run-test.sh

From the temporal folder, run run-test.sh. For each version 20260202 and above, the script spins up a standalone driver container with a video recorder sidecar, waits a few seconds to allow the video to generate, then stops the recorder and shows the time it took to stop the recorder.

NOTE1: Run this from a Linux machine (I'm using Ubuntu). If you run it from Windows (e.g., using a Visual Studio Code Bash terminal), you won’t see the 10-second time.

NOTE2: This might be related to the issue. #3093 that got fixed in #3105

Command used to start Selenium Grid with Docker (or Kubernetes)

Starting standalone Chrome driver and video recorder using Docker Compose (see files above).

Relevant log output

Output of `run-test.sh` (docker compose outputs removed)

Time to stop container 20260202: 1803 ms
...
Time to stop container 20260222: 1575 ms
...
Time to stop container 20260303: 10306 ms
...
Time to stop container 20260404: 10301 ms

Operating System

Ubuntu 24.04

Docker Selenium version (image tag)

4.42.0-20260303 and above

Selenium Grid chart version (chart version)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions