how to record video of selenium tests running on Xvfb?

試著忘記壹切 提交于 2019-12-22 13:04:44

问题


I want a video recording of my selenium tests (chromedriver running on linux server with Xvfb).

How would you go about doing this with ffmpeg or does a library already exist? I also would like the output to be a choppy gif (I just need to know the basics of what is happening).


回答1:


You could try this : https://github.com/lightsofapollo/x-recorder

What it does is pretty simple : start an xvfb-run of your command, then record the X11 output with ffmpeg.



来源:https://stackoverflow.com/questions/28655518/how-to-record-video-of-selenium-tests-running-on-xvfb

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