docker-selenium icon indicating copy to clipboard operation
docker-selenium copied to clipboard

[🐛 Bug]: Change format of recording filenames

Open jkarpiu opened this issue 6 months ago • 4 comments

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

jkarpiu avatar May 26 '25 13:05 jkarpiu