Is there a way to record a video of my Selenium automation with Python?



  • I'd like to have video recordings of the Selenium automation at work. And then delete the recording when the tests pass.

    This way whenever the tests fail we can quickly replay the video to see what went wrong. Is there a free way to capture / record the screen while the automation is running?

    I'm looking for something that wouldn't take up too much of disk space. And it's something that can be controlled via the program.



  • You can use https://github.com/SeleniumHQ/docker-selenium#video-recording that Selenium provides for video recording. Since you use docker images in "remote driver" manner you can use those images from python code as well.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2