-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛 Bug]: Recording video, files with the session ID only in the name #2390
Comments
@robertw-dev, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
So, from binding, your video file name is set to capabilities |
@VietND96 Thank you for the response. |
Ok sure, based on your info provided, I think I can find the problem, will give the fix if possible. |
@robertw-dev, if you have time, can you replace video image tag |
@VietND96 Thank you, I will check it as soon as possible. |
@VietND96 Unfortunately, files with the session ID in the name still appear when the se:recordVideo is set to false |
As implementation, when |
Sorry for the delay. I've attached a sample Chrome-node log and a part of the hub log. There's a time difference between them since our time zone is set in Chrome-node but not in the hub. |
I saw this caps in Node logs
Any session with this cap |
OK, but this is the point of the problem, recording files are appearing. These files have names with session IDs and are several dozen kilobytes in size. They look like they are corrupted and cannot be played. |
What happened?
We are running Selenium in AKS, with a PVC attached to the video container mounted in the record1 directory, where the uploader (internal) transfers the recordings. Most of the recordings in the record1 folder are valid, with correct names such as MultiTabNotEmptyTest_202409091415181_v4.mp4. However, from time to time, files are created that contain only the session ID in their names, e.g., 06f6fea74cc1b473b792956c2055d425.mp4. These files do not contain any recordings. We have set the variable SE_VIDEO_FILE_NAME_SUFFIX="false", so files with such names should not appear.
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
Operating System
Azure Kubernetes Service
Docker Selenium version (image tag)
4.24.0-20240830
Selenium Grid chart version (chart version)
0.35.0
The text was updated successfully, but these errors were encountered: