Record video of automation in pipeline using selenium/video

56 views
Skip to first unread message

Alexandre Mariano

unread,
May 30, 2023, 11:48:20 PM5/30/23
to Selenium Users
Hello,

I'm having a problem with a process I'm trying to perform, which is recording proofs of tests when I add this automation to the gitlab-ci pipeline.

When I'm running a pipeline using the following services:
- standalone selenium/chromium
- selenium/video
It is not generating a video file, as the selenium/video container is not sustainable to connect to the chrome browser through the "localhost:4444" route, this I was able to verify using the "wget" command inside the container of each of the services ( I'm running a pipeline using local runners I created).

Below is information that helps to better understand the scenario:
.gitlab-ci.yml - Which I'm using to run a pipeline.
runners - Which are configured on my machine
video container console when running in the pipeline, showing that it is not securely connecting to selenium/video, unlike the example below
what the console should look like When it's working properly and connecting to the browser to perform a recording.

I believe it is a problem in gitlab to separate the network of these two containers, but I don't know how to get around this situation!
I would like to know if anyone has been through this situation and if they could help me in this case!
Reply all
Reply to author
Forward
0 new messages