title: What is the correct way of running test cases(in headless firefox) in xvfb and record the test cases using ffmpeg
body: <p><a href="https://malinowski.dev/recording-headless-selenium-tests-to-mp4.html" rel="nofollow noreferrer">https://malinowski.dev/recording-headless-selenium-tests-to-mp4.html</a> this is the link i am using but i don't even know how to do all these.I don't know whether i should run all the commands in that as a single script or should i run the xvfb command in one terminal and then open a new window for ffmpeg command for x11 grab.So,can anyone elaborate the steps for running test cases in xvfb and record the same.</p>