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: ENV_VARIABLES.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
| SE_SUPERVISORD_PID_FILE | /tmp/supervisord.pid | Default pid file will be created by supervisord ||
24
24
| SE_DRAIN_AFTER_SESSION_COUNT | 0 | Drain and detach node from grid after session count exceeds | --drain-after-session-count |
25
25
| SE_SUB_PATH || A sub-path that should be considered for all user facing routes on the Hub/Router/Standalone | --sub-path |
26
-
| SE_NODE_GRID_URL || Node config, public URL of the Grid as a whole (typically the address of the Hub or the Router) | --grid-url |
26
+
| SE_NODE_GRID_URL |http://localhost:4444| Node config, public URL of the Grid as a whole (typically the address of the Hub or the Router) | --grid-url |
27
27
| SE_HUB_HOST || Hub config, host address the Hub should listen on | --host |
28
28
| SE_ROUTER_HOST || Router config, host address the Router should listen on | --host |
29
29
| SE_HUB_PORT | 4444 | Hub config, port the Hub should listen on (default 4444) | --port |
@@ -37,10 +37,10 @@
37
37
| SE_UPLOAD_RETAIN_LOCAL_FILE ||||
38
38
| SE_VIDEO_UPLOAD_BATCH_CHECK ||||
39
39
| SE_RCLONE_||||
40
-
| SE_OPTS ||||
40
+
| SE_OPTS ||This is used to pass any additional CLI options (which doesn't have environment variable representation) to the component. Refer to list supported options per component in [documentation](https://www.selenium.dev/documentation/grid/configuration/cli_options/)||
41
41
| SE_EVENT_BUS_HOST ||||
42
42
| SE_EVENT_BUS_PORT | 5557 |||
43
-
| SE_LOG_LEVEL | INFO || --log-level |
43
+
| SE_LOG_LEVEL | INFO |Log level. Default logging level is INFO. Log levels are described [here](https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/Level.html)| --log-level |
| SE_NODE_ENABLE_MANAGED_DOWNLOADS | true | This causes the Node to auto manage files downloaded for a given session on the Node | --enable-managed-downloads |
79
-
| SE_NODE_ENABLE_CDP ||| --enable-cdp |
79
+
| SE_NODE_ENABLE_CDP ||Enable CDP proxying in Grid. A Grid admin can disable CDP if the network doesnot allow websockets. True by default.| --enable-cdp |
Copy file name to clipboardExpand all lines: README.md
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ Talk to us at https://www.selenium.dev/support/
76
76
*[Building the images](#building-the-images)
77
77
*[Build the images with specific versions](#build-the-images-with-specific-versions)
78
78
*[Upgrade browser version in the images](#upgrade-browser-version-in-the-images)
79
+
*[Upgrade browser and driver versions in the images](#upgrade-browser-and-driver-versions-in-the-images)
79
80
*[Waiting for the Grid to be ready](#waiting-for-the-grid-to-be-ready)
80
81
*[Adding a HEALTHCHECK to the Grid](#adding-a-healthcheck-to-the-grid)
81
82
*[Using a bash script to wait for the Grid](#using-a-bash-script-to-wait-for-the-grid)
@@ -1488,6 +1489,44 @@ You can refer to detail commands in the [Makefile](Makefile) file.
1488
1489
1489
1490
---
1490
1491
1492
+
## Upgrade browser and driver versions in the images
1493
+
1494
+
| Image name | Support |
1495
+
|--------------------------------|---------|
1496
+
| node-chrome, standalone-chrome | ✅ |
1497
+
1498
+
There are two ways of usage this feature.
1499
+
1500
+
1. Upgrade Chrome and ChromeDriver later in runtime (when starting the container). Set the container environment `SE_UPDATE_CHROME_COMPONENTS` to `true`. For example:
Note that after the container gets restarted, updated binaries will be lost unless you call the update script within the build container process (the second usage below).
1506
+
1507
+
2. Build your own image by reusing image layers with upgrading Chrome and ChromeDriver to the latest
1508
+
Create a simple Dockerfile as below
1509
+
```Dockerfile
1510
+
FROM --platform=linux/amd64 selenium/standalone-chrome:latest
0 commit comments