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: .github/ISSUE_TEMPLATE/bug_report.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ body:
15
15
attributes:
16
16
label: "Checklist"
17
17
options:
18
-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
18
+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/testcontainers-selenium/releases/latest)"
19
19
required: true
20
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
20
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/testcontainers-selenium/issues) or [closed](https://github.com/xdev-software/testcontainers-selenium/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
21
21
required: true
22
22
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/enhancement.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ body:
13
13
attributes:
14
14
label: "Checklist"
15
15
options:
16
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/testcontainers-selenium/issues) or [closed](https://github.com/xdev-software/testcontainers-selenium/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
17
17
required: true
18
18
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/question.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ body:
12
12
attributes:
13
13
label: "Checklist"
14
14
options:
15
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/testcontainers-selenium/issues) or [closed](https://github.com/xdev-software/testcontainers-selenium/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
16
required: true
17
17
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
_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
+
9
+
# 1.5.3
10
+
* Improve error message when browser name can't be matched
11
+
* Updated dependencies
12
+
13
+
# 1.5.2
14
+
* Updated dependencies
15
+
16
+
# 1.5.1
17
+
* Slightly increased default recording save wait time a bit
18
+
19
+
# 1.5.0
20
+
* No longer map timezone into container by default
21
+
* This should keep tests consistent
22
+
23
+
# 1.4.0
24
+
*`getNoVncAddress` now returns an auto-login url
25
+
* The original behavior is still available with `getNoVncAddressRaw`
26
+
27
+
# 1.3.0
28
+
* Update to Testcontainers v2
29
+
30
+
# 1.2.5
31
+
* Update default Selenium version to `4.36.0`
32
+
* Updated dependencies
33
+
34
+
# 1.2.4
35
+
* New option ``beforeRecordingSaveWaitTime`` in ``BrowserWebDriverContainer``
36
+
* If not ``null``: Waits the amount of specified time before saving the recording
37
+
* This way no frames showing a test failure might get accidentally lost
38
+
* Default value is set to ``70ms`` which is 1 full frame when recording at the default 15 FPS
39
+
* Only compute name for recording when required
40
+
41
+
# 1.2.3
42
+
* Make some constants externally accessible
43
+
* Provide chromium image (Chrome doesn't work on ARM64)
44
+
45
+
# 1.2.2
46
+
*[Browser] Improve SHM configuration
47
+
48
+
# 1.2.1
49
+
* Migrated deployment to _Sonatype Maven Central Portal_[#155](https://github.com/xdev-software/standard-maven-template/issues/155)
* Consider doing a [test-deployment](https://github.com/xdev-software/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
40
+
* Consider doing a [test-deployment](https://github.com/xdev-software/testcontainers-selenium/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
41
41
* Check the [changelog](CHANGELOG.md)
42
42
43
43
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes
# <imgsrc="https://raw.githubusercontent.com/SeleniumHQ/seleniumhq.github.io/690acbad7b4bf4656f116274809765db64e6ccf7/website_and_docs/static/images/logos/webdriver.svg"height=24 /> Selenium/WebDriver re-implementation for Testcontainers Java
5
5
6
+
A re-implementation of [Testcontainer Selenium/WebDriver](https://java.testcontainers.org/modules/webdriver_containers/) with the following improvements:
7
+
* It uses [Selenium's video recorder](https://github.com/SeleniumHQ/docker-selenium/blob/trunk/README.md#video-recording)
8
+
* Doesn't require VNC
9
+
* No VNC Server started in the browser container (unless explicitly stated) → Saves memory
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
+
* Way more customization options for e.g. ``framerate``, ``codec``, ``preset`` ...
12
+
* Uses ``mkv`` as default recording format (wider support in comparison to ``flv``)
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
+
* 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
+
* 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).
16
+
* Added support for [NoVNC](https://github.com/SeleniumHQ/docker-selenium/blob/trunk/README.md#using-your-browser-no-vnc-client-is-needed) so that no dedicated VNC client is required
17
+
* Improved creation of video filenames
18
+
* Removed hard dependency on Selenium-Java.<br/>Only required when using ``CapabilitiesBrowserWebDriverContainer``
19
+
* Everything can be ``@Override``n if required
20
+
* Caches "Selenium version detection via classpath" so that it's not invoked everytime you build a new container
21
+
22
+
## Usage
23
+
Usage is very similar to [Testcontainers default implementation](https://java.testcontainers.org/modules/webdriver_containers/).
24
+
25
+
Make sure to remove the original Testcontainer Webdrivers dependency to avert any mix ups while using the library.
26
+
For more information take a look at [our demo](./testcontainers-selenium-demo/src/main/java/software/xdev/Application.java).
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.
6
34
7
35
## Installation
8
-
[Installation guide for the latest release](https://github.com/xdev-software/template-placeholder/releases/latest#Installation)
36
+
[Installation guide for the latest release](https://github.com/xdev-software/testcontainers-selenium/releases/latest#Installation)
9
37
10
38
## Support
11
39
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).
@@ -14,4 +42,6 @@ If you need support as soon as possible and you can't wait for any pull request,
14
42
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
15
43
16
44
## Dependencies and Licenses
17
-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/template-placeholder/dependencies)
45
+
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/testcontainers-selenium/dependencies)
46
+
47
+
<sub>Disclaimer: This is not an official Testcontainers/Selenium product and not associated</sub>
0 commit comments