SeleniumHQ / SeleniumHQ/docker-selenium

[🐛 Bug]: Change format of recording filenames

Open
#2,844 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

R-awaiting-answer
Dominant language
Go
Stars
8.7k
Forks
2.5k
Avg merge
10h 16m
Merged PRs (30d)
20

Description

What happened?

Hello,
in selenium hub v.41.1 we get recordings named just .mp4, but we want the names to be <test_name>_.mp4. How do we achieve that?

Command used to start Selenium Grid with Docker (or Kubernetes)
videoRecorder:
  enabled: true
  name: video
  imageRegistry:
  imageName: video
  imageTag:
  imagePullPolicy: IfNotPresent
  targetFolder: "/videos"
  uploader:
    enabled: true
    destinationPrefix:
      recordings
    name:
    configFileName: upload.conf
    entryPointFileName: upload.sh
    secrets:
  ports:
    - 9000
  resources:
    requests:
      memory: "128Mi"
      cpu: "200m"
    limits:
      memory: "800Mi"
      cpu: "1"
  securityContext:
  extraEnvironmentVariables:
   - name: SE_VIDEO_FOLDER
     value: /videos
   - name: SE_VIDEO_FILE_NAME_SUFFIX
     value: "false"
   - name: SE_VIDEO_UPLOAD_ENABLED
     value: "true"
   - name: SE_VIDEO_INTERNAL_UPLOAD
     value: "true"
   - name: SE_VIDEO_FILE_NAME
     value: "auto"
  extraEnvFrom: []
  terminationGracePeriodSeconds: 30
  startupProbe: {}
  livenessProbe: {}
  lifecycle: {}
  extraVolumeMounts:
  - name: recordings
    mountPath: /recordings

  extraVolumes:
  - name: recordings
    persistentVolumeClaim:
      claimName: pvc-smb-vid1

  s3:
    imageRegistry: bitnami
    imageName: aws-cli
    imageTag: latest
    imagePullPolicy: IfNotPresent
    securityContext:
      runAsUser: 0
    command: []
    args: []
    extraEnvironmentVariables: []
Relevant log output
null
Operating System

k8s

Docker Selenium version (image tag)

4.31.0-2025041

Selenium Grid chart version (chart version)

0.43.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the video recorder configuration and the SE_VIDEO_FILE_NAME and SE_VIDEO_FILE_NAME_SUFFIX settings shown in the report. Determine whether the requested test name, id, branch, and hash format is supported by the deployed chart and recorder; done means identifying a working configuration or documenting that the behavior requires a code change.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.