testcontainers / testcontainers-java

Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.org
MIT License
7.88k stars 1.61k forks source link

[Feature]: Selenium/BrowserWebDriver - Get rid of your VNC recorder and use Selenium's video recorder #8575

Open AB-xdev opened 2 months ago

AB-xdev commented 2 months ago

Module

Selenium

Problem

There are multiple open problems with the VNC recorder:

Additionally:

Solution

Use Selenium's video recorder

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)

eddumelendez commented 2 months ago

Hi, we have a similar request #4579. Unfortunately, we can not drop VNC recorder because it will break existing consumers. However, we can enhance the existing implementation or provide a new one with the enhancements provided in https://github.com/xdev-software/testcontainers-selenium.

PR is very welcome.