testcontainers / testcontainers/testcontainers-java
[Feature]: Selenium/BrowserWebDriver - Get rid of your VNC recorder and use Selenium's video recorder
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
Module
Selenium
Problem
There are multiple open problems with the VNC recorder:
- https://github.com/testcontainers/testcontainers-java/discussions/6229
- https://github.com/testcontainers/testcontainers-java/issues/5024
- https://github.com/testcontainers/testcontainers-java/issues/5268
- https://github.com/testcontainers/testcontainers-java/issues/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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Selenium module and compare its current VNC recorder behavior against Selenium's video-recording guidance in the Docker Selenium README. Review the reference implementation in xdev-software/testcontainers-selenium and the linked discussions and issues for known problems. Done means the Selenium video recorder replaces the VNC-based approach and the documented recording benefits are available without the listed limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100