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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,18 +110,18 @@
110
110
| SE_NODE_MAX_SESSIONS | 1 |||
111
111
| SE_NODE_OVERRIDE_MAX_SESSIONS | false |||
112
112
| SE_OFFLINE | true | Selenium Manager offline mode, use the browser and driver pre-configured in the image ||
113
-
| SE_NODE_BROWSER_VERSION | stable | Overwrite the default browserVersion in Node stereotype ||
114
-
| SE_NODE_PLATFORM_NAME | Linux | Overwrite the default platformName in Node stereotype ||
113
+
| SE_NODE_BROWSER_VERSION | stable | Overwrite the default browserVersion in Node stereotype. By default, it is short version of current browser installed in Node. For example `139.0`||
114
+
| SE_NODE_PLATFORM_NAME | Linux | Overwrite the default platformName in Node stereotype. By default, it is `Linux`||
| SE_RECORD_AUDIO | false | Flag to enable recording the audio source (default is Pulse Audio input) ||
121
121
| SE_AUDIO_SOURCE | -f pulse -ac 2 -i default | FFmpeg arguments to record the audio source ||
122
-
| SE_BROWSER_BINARY_LOCATION ||||
122
+
| SE_BROWSER_BINARY_LOCATION ||Browser binary location set to Node driver configuration. This helpful in case you customize on top of official Docker image to install another browser in other path and still using GENERATE_CONFIG=true (where enforce detect-drivers = false and controlled by our config logic). By default in corresponding browser, default path would be `/usr/bin/google-chrome`, `/usr/bin/chromium`, `/usr/bin/firefox`, `/usr/bin/microsoft-edge`. Example usage: `SE_BROWSER_BINARY_LOCATION=/opt/google-chrome`||
123
123
| SE_NODE_BROWSER_NAME ||||
124
-
| SE_NODE_CONTAINER_NAME ||||
124
+
| SE_NODE_CONTAINER_NAME ||Set a unique name to identify the Node is running in which container (via session capabilities `se:containerName`). This is helpful when deploying Node in Kubernetes cluster, where is able to use metadata pod name set to this env variable. By default, it is the `$(hostname)` (a.k.a container id could be seen via `docker ps`)||
125
125
| SE_NODE_HOST ||||
126
126
| SE_NODE_RELAY_BROWSER_NAME ||||
127
127
| SE_NODE_RELAY_MAX_SESSIONS ||||
@@ -131,7 +131,7 @@
131
131
| SE_NODE_RELAY_STATUS_ENDPOINT ||||
132
132
| SE_NODE_RELAY_URL ||||
133
133
| SE_NODE_STEREOTYPE || Capabilities in JSON string to overwrite the default Node stereotype ||
134
-
| SE_NODE_STEREOTYPE_EXTRA || Extra capabilities in JSON string that wants to merge to the default Node stereotype ||
134
+
| SE_NODE_STEREOTYPE_EXTRA || Extra capabilities in JSON string that wants to merge to the default Node stereotype. This is helpful when you want to retain the default Node stereotype and append additional capabilities. Example usage `SE_NODE_STEREOTYPE_EXTRA={"myApp:version":"beta","myApp:publish":"public"}`||
-**Running an AMD64 image under emulation on an ARM64 platform is not recommended due to performance and [stability issues](https://github.com/SeleniumHQ/docker-selenium/issues/2298), or browsers could not launch.**
@@ -374,6 +365,26 @@ services:
374
365
375
366
For more information on the Dev and Beta channel container images, see the blog post on [Dev and Beta Channel Browsers via Docker Selenium](https://www.selenium.dev/blog/2022/dev-and-beta-channel-browsers-via-docker-selenium/).
376
367
368
+
## Single Node/Standalone Image With All Browsers
369
+
370
+
From image tag `4.35.0` onwards, a single Node/Standalone image is available with all browsers are pre-installed. Those images are `selenium/standalone-all-browsers` (standalone all in one), `selenium/node-all-browsers` (for Hub-Node mode).
371
+
372
+
These two images are suitable for users:
373
+
- Prefer a single container with "all-in-one" includes Selenium Grid and popular browsers.
374
+
- Don't care about the image size, prefer the convenience.
375
+
- Lightweight workload, able to figure out for yourself the resource consumption.
376
+
377
+
According to multi-arch support, browsers are available in images `selenium/node-all-browsers` and `selenium/standalone-all-browsers` would be different per architecture.
Both Chrome and Chromium browser binary are available in image arch `linux/amd64`. However, Chrome browser binary is activated by default. In case you want to switch to Chromium browser binary, you can set environment variable `SE_BROWSER_BINARY_LOCATION_CHROME=/usr/bin/chromium`.
387
+
377
388
## Environment Variables
378
389
379
390
**Checkout full list of environment variables [here](ENV_VARIABLES.md).**
0 commit comments