Skip to content
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

Integration with selenoid #1

Open
sasha943 opened this issue Jun 12, 2019 · 2 comments
Open

Integration with selenoid #1

sasha943 opened this issue Jun 12, 2019 · 2 comments

Comments

@sasha943
Copy link

Hi,

Thanks for Your great lib selenoid-video-api, I do not have experience with JS (only java), so could you provide some instructions, how this solution can be integrated with selenoid.

I need manual handle recording video (start/stop etc)

Run: selenoid with next command:
docker run -d \
--name selenoid                     \
-p 4445:4444                                    \
-v ~/.aerokube/selenoid/:/etc/selenoid/:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-v path/browsers.json:/etc/config/browsers.json \
-v `pwd`/video/:/opt/selenoid/video/            \
-e OVERRIDE_VIDEO_OUTPUT_DIR=`pwd`/video/       \
aerokube/selenoid:latest-release -log-output-dir /opt/selenoid/logs -timeout 10m0s -service-startup-timeout 10m -session-attempt-timeout 10m \
-conf /etc/config/browsers.json -video-recorder-image "presidenten/selenoid-manual-video-recorder" \
-limit 100

container started successfully, but video not recording (works with default selenoid video recorder)

@xiaoduv587
Copy link

hi,Have you solved it now?

@xiaoduv587
Copy link

你好,

感谢您提供出色的 lib selenoid-video-api,我没有 JS(仅限 java)的经验,所以您能否提供一些说明,如何将此解决方案与 selenoid 集成。

我需要手动处理录制视频(开始/停止等)

Run: selenoid with next command:
docker run -d \
--name selenoid                     \
-p 4445:4444                                    \
-v ~/.aerokube/selenoid/:/etc/selenoid/:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-v path/browsers.json:/etc/config/browsers.json \
-v `pwd`/video/:/opt/selenoid/video/            \
-e OVERRIDE_VIDEO_OUTPUT_DIR=`pwd`/video/       \
aerokube/selenoid:latest-release -log-output-dir /opt/selenoid/logs -timeout 10m0s -service-startup-timeout 10m -session-attempt-timeout 10m \
-conf /etc/config/browsers.json -video-recorder-image "presidenten/selenoid-manual-video-recorder" \
-limit 100

容器启动成功,但视频未录制(使用默认的 selenoid 录像机)

hi,Have you solved it now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants