| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm for 4.1 or similar
Sorry, something went wrong.
| "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
Sorry, something went wrong.
There was a problem hiding this comment.
I will fix this - thanks
Sorry, something went wrong.
There was a problem hiding this comment.
I updated the image because it's outdated and no longer supported.
Sorry, something went wrong.
|
|
||
| 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?
Sorry, something went wrong.
| 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.
Sorry, something went wrong.
Sorry, something went wrong.
|
@alexanderankin I've just finished rebasing the branch onto main. |
Sorry, something went wrong.
|
looks like tests are not passing. you can run the tests locally by cd into the directory, poetry install -E selenium and then poetry run pytest modules/selenium or poetry shell to activate the environment and run pytest commands as normal there. |
Sorry, something went wrong.
|
I would try soon, thanks :) |
Sorry, something went wrong.
|
@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! |
Sorry, something went wrong.
🤖 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>
| Back | FazBrowse Home | New Git URL |
Support video in selenium testcontainer.
Changes made: