I've setup a Zalenium in Kubernates (in the cloud not local minikube or anything else), It works perfectly and everything is OK. When I run a test case with recordVideo capability on, Zalenium records the test and stores a video inside a container, I can access the video via Zalenium's dashboard, but I want to download the video programmatically (not by visiting the dashboard) by RemoteWebDriver or something else, the video's name is dynamically generated and it consists of sessionId (known) and a timestamp which makes it impossible to generate by client to construct a URL to the video file, I wonder if anyone has already experience with Zalenium and knows how to download the video ?
Asked
Active
Viewed 356 times
2 Answers
0
I found a workaround which it helps in my scenario, Zalenium exposes a Servlet (DashboardInformationServlet
) which provides information about tests that have been done so far, this servlet returns a list of objects, each object describes the test and gives a path to the video recording of the test, the information is enough to automate further steps I need to take.

Bahram
- 1,464
- 2
- 22
- 38
-
Exactly, that was the answer to this question. – diemol Apr 08 '20 at 19:46
0
you can set the 'name' in the capabilities and which is basically your test name and you will find the video file in /tmp/videos/'name'.mp4

parth shah
- 1
- 1
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 22 '22 at 12:09