Selenium Grid Video Recording

感情迁移 提交于 2019-12-21 01:41:27

问题


I'm trying to record videos of my Selenium-Tests. These Tests run parallel on Selenium Grid. I wanted to open a VNC-Server for each firefox and then start recording. So one grid-node would open 5 vncservers and then a program like 'recordMyDesktop' would record each one of them and store them in a different file.

I found this: http://www.theautomatedtester.co.uk/blog/2010/castro-selenium-video.html but not for Java and Grid...

Thank you in advance

Richard (My environment is Firefox on Linux)


回答1:


Available since April 2014, there is a java library you can use to record videos called selenium-video-node.

From the README:

This project adds video recording capability to a Selenium Grid. Videos are encoded into WebM/VP8 format on-the-fly and made available at the end of the test

https://github.com/aimmac23/selenium-video-node



来源:https://stackoverflow.com/questions/9375673/selenium-grid-video-recording

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!