Is it possible to capture video with PhantomJS in combination with the gems Poltergeist, Capybara and Cucumber?
I have used the Headless gem previously, which put a video in a specific folder in case a scenario failed. If all went well, no video was stored.
Headless uses Xvfb and ffmpeg. Can ffmpeg also be used to provide the same functionality as shown here: https://github.com/leonid-shevtsov/headless/blob/master/lib/headless/video/video_recorder.rb
I basically need the same functionality, but I have no idea how to go about it. Any advice is highly appreciated.
This is a PhantomJS tutorial to record videos: http://mindthecode.com/recording-a-website-with-phantomjs-and-ffmpeg
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With