@Test
        public void recordingTestThatShouldBeRecordedButNotPersisted() {
            try (
                // withRecordingFileFactory {
                BrowserWebDriverContainer<?> chrome = new BrowserWebDriverContainer<>()
                    // }
                    .withCapabilities(new ChromeOptions())
                    // withRecordingFileFactory {
                    .withRecordingFileFactory(new CustomRecordingFileFactory())
                    // }
                    .withNetwork(NETWORK)
            ) {
                chrome.start();

                doSimpleExplore(chrome, new ChromeOptions());
            }
        }
Guaranty a minimum video length for FFmpeg re-encoding.
@see VncRecordingFormat#reencodeRecording(VncRecordingContainer, String)
modules/selenium/src/test/java/org/testcontainers/junit/ChromeRecordingWebDriverContainerTest.java