You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
# 2.0.0
2
+
_Major version bump due to default video container format change_
3
+
* Pinned recorder container to `selenium/video:ffmpeg-8.0-20260202` because the currently latest version of the container is not shutting down properly
4
+
* Changed default video container format to `mkv`
5
+
* This format allows to play the videos even when they are incomplete
6
+
* Update default Selenium version to `4.41.0`
7
+
* Updated dependencies
8
+
1
9
# 1.5.3
2
10
* Improve error message when browser name can't be matched
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ A re-implementation of [Testcontainer Selenium/WebDriver](https://java.testconta
9
9
* No VNC Server started in the browser container (unless explicitly stated) → Saves memory
10
10
* Uses [Selenium's implementation](https://github.com/SeleniumHQ/docker-selenium/tree/trunk/Video) and isn't [based](https://github.com/testcontainers/vnc-recorder) on [some python code from 2010](https://pypi.org/project/vnc2flv/#history)
11
11
* Way more customization options for e.g. ``framerate``, ``codec``, ``preset`` ...
12
-
* Uses ``mp4`` as default recording format (wider support in comparison to ``flv``)
12
+
* Uses ``mkv`` as default recording format (wider support in comparison to ``flv``)
13
13
*[Renders while saving the video](https://github.com/SeleniumHQ/docker-selenium/blob/4c572afd1173b5bd49fa2def3b54ea552fccee85/Video/video.sh#L126) (not when finished which takes additional time)
14
14
* Stops the recorder before saving the file so that there is no way that [it runs forever](https://github.com/testcontainers/testcontainers-java/discussions/6229).
15
15
* Automatically tries to select a alternative Selenium version for the docker image if it [doesn't exist](https://github.com/SeleniumHQ/docker-selenium/issues/1979).
@@ -25,6 +25,13 @@ Usage is very similar to [Testcontainers default implementation](https://java.te
25
25
Make sure to remove the original Testcontainer Webdrivers dependency to avert any mix ups while using the library.
26
26
For more information take a look at [our demo](./testcontainers-selenium-demo/src/main/java/software/xdev/Application.java).
27
27
28
+
### Why are videos recorded as `.mkv` and how can I open them?
29
+
30
+
In version 2 `.mp4` was replaced with `.mkv` as the default video container format.<br/>
31
+
This was done because `.mp4` requires finalization as otherwise the file/container will be consider corrupt. `.mkv` has no such problems.
32
+
33
+
[Most video players](https://en.wikipedia.org/wiki/Matroska#Support) (including browsers) can play `.mkv` files out of the box.
34
+
28
35
## Installation
29
36
[Installation guide for the latest release](https://github.com/xdev-software/testcontainers-selenium/releases/latest#Installation)
Copy file name to clipboardExpand all lines: testcontainers-selenium/src/main/java/software/xdev/testcontainers/selenium/containers/browser/SeleniumUtils.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ public final class SeleniumUtils
Copy file name to clipboardExpand all lines: testcontainers-selenium/src/main/java/software/xdev/testcontainers/selenium/containers/recorder/SeleniumRecordingContainer.java
0 commit comments