Uh oh!
There was an error while loading. Please reload this page.
fix: Add selenium video support #6 - #364
Conversation
65964f3 to
49cb763Compare49cb763 to
a4f85d0Comparea44a8ec to
79698c3Compare| "firefox": "selenium/standalone-firefox:4.13.0-20231004", | ||
| "chrome": "selenium/standalone-chrome:4.13.0-20231004" | ||
| } |
There was a problem hiding this comment.
probably dont want to change the images, is this necessary? or what is the motivation
There was a problem hiding this comment.
I will fix this - thanks
There was a problem hiding this comment.
I updated the image because it's outdated and no longer supported.
1c051ed to
c8b481eCompare| def stop(self, force=True, delete_volume=True) -> None: | ||
| if self.video: | ||
| # get_wrapped_container().stop -> stop the container |
There was a problem hiding this comment.
Maybe we should renamed video.stop to video.remove?
Uh oh!
There was an error while loading. Please reload this page.
| super().start() | ||
| self.video \ | ||
| .with_kwargs(network=network.name) \ |
There was a problem hiding this comment.
I encountered an issue and would appreciate it if you could review it:
using with_network (network.connect), I aim to block the container's access from the host via a port.
Providing the network in the container run command should resolve this issue.
Note:
Using with_network, along with adding a delay before connecting to the network and after running the container, resolved the issue.
278c2bc to
79727eaCompareJosefShenhav
commented
Apr 22, 2024
4b18e98 to
fc58c7cComparefc58c7c to
655db28Compare4742e7a to
1a8f372Compare1a8f372 to
6f40428CompareJosefShenhav
commented
May 10, 2024
@alexanderankin I've just finished rebasing the branch onto main. |
looks like tests are not passing. you can run the tests locally by cd into the directory, |
JosefShenhav
commented
May 10, 2024
I would try soon, thanks :) |
@alexanderankin The problem stemmed from permissions. The tempfile.TemporaryDirectory function generated a folder lacking the necessary permissions for writing within the container. Now it is working! |
🤖 I have created a release *beep* *boop* --- ## [4.4.1](testcontainers-v4.4.0...testcontainers-v4.4.1) (2024-05-14) ### Bug Fixes * Add memcached container ([#322](#322)) ([690b9b4](690b9b4)) * Add selenium video support [#6](#6) ([#364](#364)) ([3c8006c](3c8006c)) * **core:** add empty _configure to DockerContainer ([#556](#556)) ([08916c8](08916c8)) * **core:** remove version from compose tests ([#571](#571)) ([38946d4](38946d4)) * **keycloak:** add realm imports ([#565](#565)) ([f761b98](f761b98)) * **mysql:** Add seed support in MySQL ([#552](#552)) ([396079a](396079a)) * url quote passwords ([#549](#549)) ([6c5d227](6c5d227)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Support video in selenium testcontainer.
Changes made:
with_video.