-
-
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
[🚀 Feature]: se:recordVideo should be used to determine if video should be recorded #2090
Comments
@eugenek5, 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! |
This issue is looking for contributors. Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested. |
I will try to solve this in part of #2097 |
I also documented the details at https://github.com/SeleniumHQ/docker-selenium/tree/trunk/charts/selenium-grid#video-recorder |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature and motivation
By documentation for docker based Grid, it is stated that on setting se:recordVideo to true the grid should record a video, and inversely I understood that setting it to false should not record that session.
Feature proposal to use the recordVideo flag as a parameter on Deployment and Job pods - video sidecar container to determine if we should record and upload the session.
This will bring the k8s Helm deployed grid to feature parity.
To record the WebDriver session, users would need to add a se:recordVideo field set to True. False or not set would not record the video. We can also add a default false or default true override if we want to preserve a default video recording or default no recording behavior.
In the Video sidecar container the script /opt/bin/video.sh is constantly running and only checking if a session begins to start recording
I believe there should be an additional query to the GraphQL endpoint to check browser compatibilities
parsing capabilities will reveal the requested tags including se:recordVideo
In this example it shows "se:recordVideo":"false", which should be parsed and used as part of the video.sh logic to determine if we should start recording video or loop until the next session begins.
Usage example
Grid defaults to video recording false, passing se:recordVideo field set to True would record the video.
Inversely we can default Grid to always record videos and passing se:recordVideo field set to False would override and not record video.
The text was updated successfully, but these errors were encountered: