Open
Description
Module
Selenium
Problem
There are multiple open problems with the VNC recorder:
- Selenium module: VNC recorder doesn't stop recording when test ends #6229
VncRecordingContainer.reencodeRecording
hangs #5024- VncRecordingContainer creates an unnecessary delay during video export #5268
- Length of the recording is too long #4380
Additionally:
- the recorder requires VNC
- The VNC recording code is based on some python code from 2010 and looks outdated
- Requires rendering after the recording -> Needs time to stop the test
Solution
We implemented this along with some additional improvements and cleanup efforts in an open source library.
Benefit
Described in https://github.com/xdev-software/testcontainers-selenium/blob/develop/README.md under "Selenium's video recorder"
Alternatives
Searched for alternatives, the above one was the easiest for implementation. Implemented it. No problems since then.
Would you like to help contributing this feature?
Reference implementation is available at https://github.com/xdev-software/testcontainers-selenium (maybe consider giving us some credit if you port it)