Skip to content

Commit a667620

Browse files
authored
4.0.0-beta-1, rev: 1f4909f59c [deploy][prerelease]
* Simplifying config for Dynamic Grid (#1158) * Pushing a `latest` for selenium/video * Using selenium-server-4.0.0-prerelease-beta-1-1f4909f59c.jar * Simplifying configuration for Dynamic Grid & video recording
1 parent ab99bbd commit a667620

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ COPY supervisord.conf /etc
7171
RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
7272
&& touch /opt/selenium/config.toml \
7373
&& chmod -R 777 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
74-
&& wget --no-verbose https://github.com/SeleniumHQ/docker-selenium/raw/beta-jars/selenium-server-4.0.0-prerelease-beta-1-4610dcfb35.jar \
74+
&& wget --no-verbose https://github.com/SeleniumHQ/docker-selenium/raw/beta-jars/selenium-server-4.0.0-prerelease-beta-1-1f4909f59c.jar \
7575
-O /opt/selenium/selenium-server.jar \
7676
# && wget --no-verbose https://selenium-release.storage.googleapis.com/4.0-alpha-6/selenium-server-4.0.0-alpha-6.jar \
7777
# -O /opt/selenium/selenium-server.jar \

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ release: tag_major_minor
327327
docker push $(NAME)/standalone-opera:$(MAJOR_MINOR_PATCH)
328328
docker push $(NAME)/standalone-docker:$(MAJOR_MINOR_PATCH)
329329
docker push $(NAME)/video:$(FFMPEG_TAG_VERSION)-$(BUILD_DATE)
330+
docker tag $(NAME)/video:$(FFMPEG_TAG_VERSION)-$(BUILD_DATE) $(NAME)/video:latest
331+
docker push $(NAME)/video:latest
332+
# video: this should be moved to release_latest when Selenium 4 is released
330333

331334
test: test_chrome \
332335
test_firefox \

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,6 @@ configs = [
252252
host = "tcp://host.docker.internal:2375"
253253
# Docker imagee used for video recording
254254
video-image = "selenium/video:ffmpeg-4.3.1-20201202"
255-
# Absolute path where test assets will be stored (this path must exist on the host)
256-
assets-path = "/assets/path/on/your/host/machine"
257-
# Absolute path where test assets will be stored inside the container
258-
# "/opt/selenium/assets" already exists inside the containers
259-
# If you want to use another one, be sure it exists.
260-
container-assets-path = "/opt/selenium/assets"
261255

262256
# Uncomment the following section if you are running the node on a separate VM
263257
# Fill out the placeholders with appropriate values
@@ -283,6 +277,8 @@ $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \
283277
selenium/node-docker:4.0.0-beta-1-prerelease-20201202
284278
```
285279

280+
To have the assets saved on your host, please mount your host path to `/opt/selenium/assets`.
281+
286282
When you are done using the Grid, and the containers have exited, the network can be removed with the following command:
287283

288284
``` bash
@@ -299,6 +295,8 @@ docker run --rm -ti --name selenium-docker -p 4444:4444 \
299295
selenium/standalone-docker:4.0.0-beta-1-prerelease-20201202
300296
```
301297

298+
To have the assets saved on your host, please mount your host path to `/opt/selenium/assets`.
299+
302300
### Video recording, screen resolution, and time zones in a Dynamic Grid
303301
To record your WebDriver session, you need to add a `se:options` section to
304302
your capabilities and inside it, configure the desired settings, for example:

0 commit comments

Comments
 (0)