private File[] runSimpleExploreInContainer(BrowserWebDriverContainer<?> container, String fileNamePattern)
            throws InterruptedException {
            container.start();

            TimeUnit.MILLISECONDS.sleep(MINIMUM_VIDEO_DURATION_MILLISECONDS);
            doSimpleExplore(container, new ChromeOptions());
            container.afterTest(
                new TestDescription() {
                    @Override
                    public String getTestId() {
                        return getFilesystemFriendlyName();
                    }

                    @Override
                    public String getFilesystemFriendlyName() {
                        return "ChromeThatRecordsAllTests-recordingTestThatShouldBeRecordedAndRetained";
                    }
                },
                Optional.empty()
            );

            return vncRecordingDirectory.getRoot().listFiles(new PatternFilenameFilter(fileNamePattern));
        }
Guaranty a minimum video length for FFmpeg re-encoding.
@see VncRecordingFormat#reencodeRecording(VncRecordingContainer, String)
modules/selenium/src/test/java/org/testcontainers/junit/ChromeRecordingWebDriverContainerTest.java