From c5e10a7c7f8e6538f5bee7079a7d6f7e0587368b Mon Sep 17 00:00:00 2001 From: Selenium CI Bot Date: Wed, 27 Nov 2024 06:31:28 +0000 Subject: [PATCH] Update tag 4.27.0-20241127 in docs and files --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .keda/README.md | 12 +- .keda/scalers/selenium-grid-scaler.md | 43 +++--- .keda/scalers/selenium_grid_scaler.go | 35 +++-- .keda/scalers/selenium_grid_scaler_test.go | 24 +-- Makefile | 2 +- NodeDocker/config.toml | 8 +- README.md | 142 +++++++++--------- charts/selenium-grid/CONFIGURATION.md | 10 +- charts/selenium-grid/Chart.yaml | 4 +- charts/selenium-grid/values.yaml | 12 +- docker-compose-v2-tracing.yml | 8 +- docker-compose-v2.yml | 8 +- docker-compose-v3-basicauth.yml | 8 +- docker-compose-v3-dev.yml | 8 +- docker-compose-v3-dynamic-grid.yml | 4 +- docker-compose-v3-full-grid-dev.yml | 16 +- docker-compose-v3-full-grid-secure.yml | 16 +- docker-compose-v3-full-grid-swarm.yml | 8 +- docker-compose-v3-full-grid-tracing.yml | 16 +- docker-compose-v3-full-grid.yml | 16 +- docker-compose-v3-swarm.yml | 8 +- docker-compose-v3-tracing.yml | 8 +- ...r-compose-v3-video-upload-dynamic-grid.yml | 4 +- docker-compose-v3-video-upload-standalone.yml | 12 +- docker-compose-v3-video-upload.yml | 14 +- docker-compose-v3-video.yml | 14 +- docker-compose-v3.yml | 8 +- 28 files changed, 239 insertions(+), 231 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 0f340afc3..54708f8bb 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -56,7 +56,7 @@ body: attributes: label: Docker Selenium version (image tag) description: What version of Docker Selenium are you using? - placeholder: 4.26.0-20241101? Please use the full tag, avoid "latest" + placeholder: 4.27.0-20241127? Please use the full tag, avoid "latest" validations: required: true - type: input diff --git a/.keda/README.md b/.keda/README.md index 4acbd4a7d..0448f2e29 100644 --- a/.keda/README.md +++ b/.keda/README.md @@ -13,9 +13,9 @@ The stable implementation will be merged to the upstream KEDA repository frequen Replace the image registry and tag of these KEDA components with the patched image tag: ```bash -docker pull selenium/keda:2.15.1-selenium-grid-20241101 -docker pull selenium/keda-metrics-apiserver:2.15.1-selenium-grid-20241101 -docker pull selenium/keda-admission-webhooks:2.15.1-selenium-grid-20241101 +docker pull selenium/keda:2.16.0-selenium-grid-20241127 +docker pull selenium/keda-metrics-apiserver:2.16.0-selenium-grid-20241127 +docker pull selenium/keda-admission-webhooks:2.16.0-selenium-grid-20241127 ``` Besides that, you also can use image tag `latest` or `nightly`. @@ -27,15 +27,15 @@ If you are deploying KEDA core using their official Helm [chart](https://github. keda: registry: selenium repository: keda - tag: "2.15.1-selenium-grid-20241101" + tag: "2.16.0-selenium-grid-20241127" metricsApiServer: registry: selenium repository: keda-metrics-apiserver - tag: "2.15.1-selenium-grid-20241101" + tag: "2.16.0-selenium-grid-20241127" webhooks: registry: selenium repository: keda-admission-webhooks - tag: "2.15.1-selenium-grid-20241101" + tag: "2.16.0-selenium-grid-20241127" ``` If you are deployment Selenium Grid chart with `autoscaling.enabled` is `true` (implies installing KEDA sub-chart), KEDA images registry and tag already set in the `values.yaml`. Refer to list [configuration](../charts/selenium-grid/CONFIGURATION.md). diff --git a/.keda/scalers/selenium-grid-scaler.md b/.keda/scalers/selenium-grid-scaler.md index 4b30d1e4a..27d0c255d 100644 --- a/.keda/scalers/selenium-grid-scaler.md +++ b/.keda/scalers/selenium-grid-scaler.md @@ -29,20 +29,25 @@ triggers: **Parameter list:** -- `url` - Graphql url of your Selenium Grid (Required). Refer to the Selenium Grid's documentation [here](https://www.selenium.dev/documentation/en/grid/grid_4/graphql_support/) to for more info. If endpoint requires authentication, you can use `TriggerAuthentication` to provide the credentials instead of embedding in the URL. -- `browserName` - Name of browser that usually gets passed in the browser capability (Required). Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info. +- `url` - Graphql url of your Selenium Grid. Refer to the Selenium Grid's documentation [here](https://www.selenium.dev/documentation/en/grid/grid_4/graphql_support/) to for more info. If endpoint requires authentication, you can use `TriggerAuthentication` to provide the credentials instead of embedding in the URL. +- `browserName` - Name of browser that usually gets passed in the browser capability. Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info. - `sessionBrowserName` - Name of the browser when it is an active session, only set if `BrowserName` changes between the queue and the active session. See the Edge example below for further detail. (Optional) - `browserVersion` - Version of browser that usually gets passed in the browser capability. Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info. (Optional) - `unsafeSsl` - Skip certificate validation when connecting over HTTPS. (Values: `true`, `false`, Default: `false`, Optional) - `activationThreshold` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds). (Default: `0`, Optional) - `platformName` - Name of the browser platform. Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info. (Default: `Linux`, Optional) -- `nodeMaxSessions` - Number of maximum sessions that can run in parallel on a Node. (Default: `1`, Optional). Update this parameter align with node config `--max-sessions` (`SE_NODE_MAX_SESSIONS`) to have the correct scaling behavior. +- `nodeMaxSessions` - Number of maximum sessions that can run in parallel on a Node. Update this parameter align with node config `--max-sessions` (`SE_NODE_MAX_SESSIONS`) to have the correct scaling behavior. (Default: `1`, Optional). +- `targetQueueLength` - The target number of queued sessions to scale on. (Default: `1`, Optional). **Trigger Authentication** - `username` - Username for basic authentication in GraphQL endpoint instead of embedding in the URL. (Optional) - `password` - Password for basic authentication in GraphQL endpoint instead of embedding in the URL. (Optional) -- `authType` - Type of authentication to be used. (Optional). This can be set to `Bearer` or `OAuth2` in case Selenium Grid behind an Ingress proxy with other authentication types. -- `accessToken` - Access token (Optional). This is required when `authType` is set a value. +- `authType` - Type of authentication to be used. This can be set to `Bearer` or `OAuth2` in case Selenium Grid behind an Ingress proxy with other authentication types. (Optional) +- `accessToken` - Access token. This is required when `authType` is set a value. (Optional) + +### How does it work? + +The scaler will query the Hub GraphQL response to get the number of queued sessions in the specified combination of browser name, version, and platform. If the number of queued sessions is **equal to or greater than** the `targetQueueLength`, the scaler will scale up. ### Example @@ -55,11 +60,11 @@ metadata: name: selenium-grid-chrome-scaledobject namespace: keda labels: - deploymentName: selenium-node-chrome + deploymentName: selenium-chrome-node spec: maxReplicaCount: 8 scaleTargetRef: - name: selenium-node-chrome + name: selenium-chrome-node triggers: - type: selenium-grid metadata: @@ -78,11 +83,11 @@ metadata: name: selenium-grid-firefox-scaledobject namespace: keda labels: - deploymentName: selenium-node-firefox + deploymentName: selenium-firefox-node spec: maxReplicaCount: 8 scaleTargetRef: - name: selenium-node-firefox + name: selenium-firefox-node triggers: - type: selenium-grid metadata: @@ -99,11 +104,11 @@ metadata: name: selenium-grid-edge-scaledobject namespace: keda labels: - deploymentName: selenium-node-edge + deploymentName: selenium-edge-node spec: maxReplicaCount: 8 scaleTargetRef: - name: selenium-node-edge + name: selenium-edge-node triggers: - type: selenium-grid metadata: @@ -121,11 +126,11 @@ metadata: name: selenium-grid-chrome-scaledobject namespace: keda labels: - deploymentName: selenium-node-chrome + deploymentName: selenium-chrome-node spec: maxReplicaCount: 8 scaleTargetRef: - name: selenium-node-chrome + name: selenium-chrome-node triggers: - type: selenium-grid metadata: @@ -143,11 +148,11 @@ metadata: name: selenium-grid-chrome-91-scaledobject namespace: keda labels: - deploymentName: selenium-node-chrome-91 + deploymentName: selenium-chrome-node-91 spec: maxReplicaCount: 8 scaleTargetRef: - name: selenium-node-chrome-91 + name: selenium-chrome-node-91 triggers: - type: selenium-grid metadata: @@ -163,11 +168,11 @@ metadata: name: selenium-grid-chrome-90-scaledobject namespace: keda labels: - deploymentName: selenium-node-chrome-90 + deploymentName: selenium-chrome-node-90 spec: maxReplicaCount: 8 scaleTargetRef: - name: selenium-node-chrome-90 + name: selenium-chrome-node-90 triggers: - type: selenium-grid metadata: @@ -219,11 +224,11 @@ metadata: name: selenium-grid-chrome-scaledobject namespace: keda labels: - deploymentName: selenium-node-chrome + deploymentName: selenium-chrome-node spec: maxReplicaCount: 8 scaleTargetRef: - name: selenium-node-chrome + name: selenium-chrome-node triggers: - type: selenium-grid metadata: diff --git a/.keda/scalers/selenium_grid_scaler.go b/.keda/scalers/selenium_grid_scaler.go index 057181c87..11a65a938 100644 --- a/.keda/scalers/selenium_grid_scaler.go +++ b/.keda/scalers/selenium_grid_scaler.go @@ -36,12 +36,11 @@ type seleniumGridScalerMetadata struct { BrowserName string `keda:"name=browserName, order=triggerMetadata"` SessionBrowserName string `keda:"name=sessionBrowserName, order=triggerMetadata, optional"` ActivationThreshold int64 `keda:"name=activationThreshold, order=triggerMetadata, optional"` - BrowserVersion string `keda:"name=browserVersion, order=triggerMetadata, optional, default=latest"` - UnsafeSsl bool `keda:"name=unsafeSsl, order=triggerMetadata, optional, default=false"` - PlatformName string `keda:"name=platformName, order=triggerMetadata, optional, default=linux"` - NodeMaxSessions int `keda:"name=nodeMaxSessions, order=triggerMetadata, optional, default=1"` - - TargetValue int64 + BrowserVersion string `keda:"name=browserVersion, order=triggerMetadata, default=latest"` + UnsafeSsl bool `keda:"name=unsafeSsl, order=triggerMetadata, default=false"` + PlatformName string `keda:"name=platformName, order=triggerMetadata, default=linux"` + NodeMaxSessions int `keda:"name=nodeMaxSessions, order=triggerMetadata, default=1"` + TargetQueueLength int64 `keda:"name=targetQueueLength, order=triggerMetadata;resolvedEnv, default=1"` } type SeleniumResponse struct { @@ -107,7 +106,8 @@ type Stereotypes []struct { } const ( - DefaultBrowserVersion string = "latest" + DefaultBrowserVersion string = "latest" + DefaultTargetQueueLength int64 = 1 ) func NewSeleniumGridScaler(config *scalersconfig.ScalerConfig) (Scaler, error) { @@ -135,9 +135,7 @@ func NewSeleniumGridScaler(config *scalersconfig.ScalerConfig) (Scaler, error) { } func parseSeleniumGridScalerMetadata(config *scalersconfig.ScalerConfig) (*seleniumGridScalerMetadata, error) { - meta := &seleniumGridScalerMetadata{ - TargetValue: 1, - } + meta := &seleniumGridScalerMetadata{} if err := config.TypedConfig(meta); err != nil { return nil, fmt.Errorf("error parsing prometheus metadata: %w", err) @@ -148,6 +146,10 @@ func parseSeleniumGridScalerMetadata(config *scalersconfig.ScalerConfig) (*selen if meta.SessionBrowserName == "" { meta.SessionBrowserName = meta.BrowserName } + + if meta.TargetQueueLength < 1 { + meta.TargetQueueLength = DefaultTargetQueueLength + } return meta, nil } @@ -160,23 +162,24 @@ func (s *seleniumGridScaler) Close(context.Context) error { } func (s *seleniumGridScaler) GetMetricsAndActivity(ctx context.Context, metricName string) ([]external_metrics.ExternalMetricValue, bool, error) { - sessions, err := s.getSessionsCount(ctx, s.logger) + queueLen, err := s.getSessionsQueueLength(ctx, s.logger) if err != nil { return []external_metrics.ExternalMetricValue{}, false, fmt.Errorf("error requesting selenium grid endpoint: %w", err) } - metric := GenerateMetricInMili(metricName, float64(sessions)) + metric := GenerateMetricInMili(metricName, float64(queueLen)) - return []external_metrics.ExternalMetricValue{metric}, sessions > s.metadata.ActivationThreshold, nil + // If the number of sessions queued is equal to or greater than the targetQueueLength, the scaler will scale up. + return []external_metrics.ExternalMetricValue{metric}, queueLen >= s.metadata.TargetQueueLength, nil } func (s *seleniumGridScaler) GetMetricSpecForScaling(context.Context) []v2.MetricSpec { - metricName := kedautil.NormalizeString(fmt.Sprintf("seleniumgrid-%s", s.metadata.BrowserName)) + metricName := kedautil.NormalizeString(fmt.Sprintf("selenium-grid-%s-%s-%s", s.metadata.BrowserName, s.metadata.BrowserVersion, s.metadata.PlatformName)) externalMetric := &v2.ExternalMetricSource{ Metric: v2.MetricIdentifier{ Name: GenerateMetricNameWithIndex(s.metadata.triggerIndex, metricName), }, - Target: GetMetricTarget(s.metricType, s.metadata.TargetValue), + Target: GetMetricTarget(s.metricType, s.metadata.TargetQueueLength), } metricSpec := v2.MetricSpec{ External: externalMetric, Type: externalMetricType, @@ -184,7 +187,7 @@ func (s *seleniumGridScaler) GetMetricSpecForScaling(context.Context) []v2.Metri return []v2.MetricSpec{metricSpec} } -func (s *seleniumGridScaler) getSessionsCount(ctx context.Context, logger logr.Logger) (int64, error) { +func (s *seleniumGridScaler) getSessionsQueueLength(ctx context.Context, logger logr.Logger) (int64, error) { body, err := json.Marshal(map[string]string{ "query": "{ grid { sessionCount, maxSession, totalSlots }, nodesInfo { nodes { id, status, sessionCount, maxSession, slotCount, stereotypes, sessions { id, capabilities, slot { id, stereotype } } } }, sessionsInfo { sessionQueueRequests } }", }) diff --git a/.keda/scalers/selenium_grid_scaler_test.go b/.keda/scalers/selenium_grid_scaler_test.go index b92936cbe..075691e15 100644 --- a/.keda/scalers/selenium_grid_scaler_test.go +++ b/.keda/scalers/selenium_grid_scaler_test.go @@ -1750,7 +1750,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { URL: "http://selenium-hub:4444/graphql", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, BrowserVersion: "latest", PlatformName: "linux", NodeMaxSessions: 1, @@ -1772,7 +1772,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { URL: "http://selenium-hub:4444/graphql", BrowserName: "MicrosoftEdge", SessionBrowserName: "msedge", - TargetValue: 1, + TargetQueueLength: 1, BrowserVersion: "latest", PlatformName: "linux", NodeMaxSessions: 1, @@ -1800,7 +1800,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { Password: "password", BrowserName: "MicrosoftEdge", SessionBrowserName: "msedge", - TargetValue: 1, + TargetQueueLength: 1, BrowserVersion: "latest", PlatformName: "linux", NodeMaxSessions: 1, @@ -1826,7 +1826,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { URL: "http://selenium-hub:4444/graphql", BrowserName: "MicrosoftEdge", SessionBrowserName: "msedge", - TargetValue: 1, + TargetQueueLength: 1, BrowserVersion: "latest", PlatformName: "linux", Username: "username", @@ -1851,7 +1851,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { URL: "http://selenium-hub:4444/graphql", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, BrowserVersion: "91.0", UnsafeSsl: false, PlatformName: "linux", @@ -1876,7 +1876,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { URL: "http://selenium-hub:4444/graphql", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, ActivationThreshold: 10, BrowserVersion: "91.0", UnsafeSsl: true, @@ -1917,7 +1917,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { URL: "http://selenium-hub:4444/graphql", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, ActivationThreshold: 10, BrowserVersion: "91.0", UnsafeSsl: true, @@ -1944,7 +1944,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { URL: "http://selenium-hub:4444/graphql", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, ActivationThreshold: 10, BrowserVersion: "91.0", UnsafeSsl: true, @@ -1978,7 +1978,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { Password: "password", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, ActivationThreshold: 10, BrowserVersion: "91.0", UnsafeSsl: true, @@ -2013,7 +2013,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { Password: "password", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, ActivationThreshold: 10, BrowserVersion: "91.0", UnsafeSsl: true, @@ -2048,7 +2048,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { AccessToken: "my-access-token", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, ActivationThreshold: 10, BrowserVersion: "91.0", UnsafeSsl: true, @@ -2082,7 +2082,7 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) { AccessToken: "my-access-token", BrowserName: "chrome", SessionBrowserName: "chrome", - TargetValue: 1, + TargetQueueLength: 1, ActivationThreshold: 10, BrowserVersion: "91.0", UnsafeSsl: true, diff --git a/Makefile b/Makefile index 5477e7f6a..01443f95f 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ PLATFORMS := $(or $(PLATFORMS),$(shell echo $$PLATFORMS),$(CURRENT_PLATFORM)) SEL_PASSWD := $(or $(SEL_PASSWD),$(SEL_PASSWD),secret) CHROMIUM_VERSION := $(or $(CHROMIUM_VERSION),$(CHROMIUM_VERSION),latest) SBOM_OUTPUT := $(or $(SBOM_OUTPUT),$(SBOM_OUTPUT),package_versions.txt) -KEDA_TAG_PREV_VERSION := $(or $(KEDA_TAG_PREV_VERSION),$(KEDA_TAG_PREV_VERSION),2.15.1-selenium-grid) +KEDA_TAG_PREV_VERSION := $(or $(KEDA_TAG_PREV_VERSION),$(KEDA_TAG_PREV_VERSION),2.16.0-selenium-grid) KEDA_TAG_VERSION := $(or $(KEDA_TAG_VERSION),$(KEDA_TAG_VERSION),2.16.0-selenium-grid) KEDA_BASED_NAME := $(or $(KEDA_BASED_NAME),$(KEDA_BASED_NAME),ndviet) KEDA_BASED_TAG := $(or $(KEDA_BASED_TAG),$(KEDA_BASED_TAG),2.16.0-selenium-grid-20241127) diff --git a/NodeDocker/config.toml b/NodeDocker/config.toml index e7e7bf403..ad860b8b9 100644 --- a/NodeDocker/config.toml +++ b/NodeDocker/config.toml @@ -2,9 +2,9 @@ # Configs have a mapping between the Docker image to use and the capabilities that need to be matched to # start a container with the given image. configs = [ - "selenium/standalone-firefox:4.26.0-20241101", '{"browserName": "firefox", "platformName": "linux"}', - "selenium/standalone-chrome:4.26.0-20241101", '{"browserName": "chrome", "platformName": "linux"}', - "selenium/standalone-edge:4.26.0-20241101", '{"browserName": "MicrosoftEdge", "platformName": "linux"}' + "selenium/standalone-firefox:4.27.0-20241127", '{"browserName": "firefox", "platformName": "linux"}', + "selenium/standalone-chrome:4.27.0-20241127", '{"browserName": "chrome", "platformName": "linux"}', + "selenium/standalone-edge:4.27.0-20241127", '{"browserName": "MicrosoftEdge", "platformName": "linux"}' ] # URL for connecting to the docker daemon @@ -14,7 +14,7 @@ configs = [ # socat -4 TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock url = "http://127.0.0.1:2375" # Docker image used for video recording -video-image = "selenium/video:ffmpeg-7.1-20241101" +video-image = "selenium/video:ffmpeg-7.1-20241127" # Uncomment the following section if you are running the node on a separate VM # Fill out the placeholders with appropriate values diff --git a/README.md b/README.md index e1edd85f6..4e66eca49 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The project is made possible by volunteer contributors who have put in thousands and made the source code freely available under the [Apache License 2.0](LICENSE.md). These Docker images come with a handful of tags to simplify its usage, have a look at them in one of -our [releases](https://github.com/SeleniumHQ/docker-selenium/releases/tag/4.26.0-20241101). +our [releases](https://github.com/SeleniumHQ/docker-selenium/releases/tag/4.27.0-20241127). To get notifications of new releases, add yourself as a "Releases only" watcher. @@ -96,7 +96,7 @@ Talk to us at https://www.selenium.dev/support/ 1. Start a Docker container with Firefox ```bash -docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-firefox:4.26.0-20241101 +docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-firefox:4.27.0-20241127 ``` 2. Point your WebDriver tests to http://localhost:4444 @@ -354,17 +354,17 @@ For more information on the Dev and Beta channel container images, see the blog ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_24x24.png) Firefox ```bash -docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-firefox:4.26.0-20241101 +docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-firefox:4.27.0-20241127 ``` ![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_24x24.png) Chrome ```bash -docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-chrome:4.26.0-20241101 +docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-chrome:4.27.0-20241127 ``` ![Edge](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_24x24.png) Edge ```bash -docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-edge:4.26.0-20241101 +docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-edge:4.27.0-20241127 ``` _Note: Only one Standalone container can run on port_ `4444` _at the same time._ @@ -383,44 +383,44 @@ A Docker [network](https://docs.docker.com/engine/reference/commandline/network_ ```bash $ docker network create grid -$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-edge:4.26.0-20241101 + selenium/node-edge:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-firefox:4.26.0-20241101 + selenium/node-firefox:4.27.0-20241127 ``` ##### Windows PowerShell ```powershell $ docker network create grid -$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub ` --shm-size="2g" ` -e SE_EVENT_BUS_PUBLISH_PORT=4442 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub ` --shm-size="2g" ` -e SE_EVENT_BUS_PUBLISH_PORT=4442 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` - selenium/node-edge:4.26.0-20241101 + selenium/node-edge:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub ` --shm-size="2g" ` -e SE_EVENT_BUS_PUBLISH_PORT=4442 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` - selenium/node-firefox:4.26.0-20241101 + selenium/node-firefox:4.27.0-20241127 ``` When you are done using the Grid, and the containers have exited, the network can be removed with the following command: @@ -437,7 +437,7 @@ configured to expose different ports. ##### Hub - Machine/VM 1 ```bash -$ docker run -d -p 4442-4444:4442-4444 --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4442-4444:4442-4444 --name selenium-hub selenium/hub:4.27.0-20241127 ``` ##### Node Chrome - Machine/VM 2 @@ -451,7 +451,7 @@ $ docker run -d -p 5555:5555 \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ -e SE_NODE_HOST= \ - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 ``` ###### Windows PowerShell @@ -463,7 +463,7 @@ $ docker run -d -p 5555:5555 ` -e SE_EVENT_BUS_PUBLISH_PORT=4442 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` -e SE_NODE_HOST= ` - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 ``` @@ -478,7 +478,7 @@ $ docker run -d -p 5555:5555 \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ -e SE_NODE_HOST= \ - selenium/node-edge:4.26.0-20241101 + selenium/node-edge:4.27.0-20241127 ``` ###### Windows PowerShell @@ -490,7 +490,7 @@ $ docker run -d -p 5555:5555 ` -e SE_EVENT_BUS_PUBLISH_PORT=4442 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` -e SE_NODE_HOST= ` - selenium/node-edge:4.26.0-20241101 + selenium/node-edge:4.27.0-20241127 ``` ##### Node Firefox - Machine/VM 4 @@ -504,7 +504,7 @@ $ docker run -d -p 5555:5555 \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ -e SE_NODE_HOST= \ - selenium/node-firefox:4.26.0-20241101 + selenium/node-firefox:4.27.0-20241127 ``` ###### Windows PowerShell @@ -516,7 +516,7 @@ $ docker run -d -p 5555:5555 ` -e SE_EVENT_BUS_PUBLISH_PORT=4442 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` -e SE_NODE_HOST= ` - selenium/node-firefox:4.26.0-20241101 + selenium/node-firefox:4.27.0-20241127 ``` ##### Node Chrome - Machine/VM 4 @@ -531,7 +531,7 @@ $ docker run -d -p 5556:5556 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ -e SE_NODE_HOST= \ -e SE_NODE_PORT=5556 \ - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 ``` ###### Windows PowerShell @@ -544,7 +544,7 @@ $ docker run -d -p 5556:5556 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` -e SE_NODE_HOST= ` -e SE_NODE_PORT=5556 ` - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 ``` #### Docker Compose @@ -583,7 +583,7 @@ ___ ## Video recording -Tests execution can be recorded by using the `selenium/video:ffmpeg-7.1-20241101` +Tests execution can be recorded by using the `selenium/video:ffmpeg-7.1-20241127` Docker image. One container is needed per each container where a browser is running. This means if you are running 5 Nodes/Standalone containers, you will need 5 video containers, the mapping is 1-1. @@ -613,8 +613,8 @@ This example shows how to start the containers manually: ``` bash $ docker network create grid -$ docker run -d -p 4444:4444 -p 6900:5900 --net grid --name selenium --shm-size="2g" selenium/standalone-chrome:4.26.0-20241101 -$ docker run -d --net grid --name video -v /tmp/videos:/videos selenium/video:ffmpeg-7.1-20241101 +$ docker run -d -p 4444:4444 -p 6900:5900 --net grid --name selenium --shm-size="2g" selenium/standalone-chrome:4.27.0-20241127 +$ docker run -d --net grid --name video -v /tmp/videos:/videos selenium/video:ffmpeg-7.1-20241127 # Run your tests $ docker stop video && docker rm video $ docker stop selenium && docker rm selenium @@ -669,7 +669,7 @@ Besides the video recording mentioned above, you can enable the upload functiona version: "3" services: chrome_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 depends_on: - chrome environment: @@ -746,9 +746,9 @@ You can save this file locally and name it, for example, `config.toml`. # Configs have a mapping between the Docker image to use and the capabilities that need to be matched to # start a container with the given image. configs = [ - "selenium/standalone-firefox:4.26.0-20241101", '{"browserName": "firefox"}', - "selenium/standalone-chrome:4.26.0-20241101", '{"browserName": "chrome"}', - "selenium/standalone-edge:4.26.0-20241101", '{"browserName": "MicrosoftEdge"}' + "selenium/standalone-firefox:4.27.0-20241127", '{"browserName": "firefox"}', + "selenium/standalone-chrome:4.27.0-20241127", '{"browserName": "chrome"}', + "selenium/standalone-edge:4.27.0-20241127", '{"browserName": "MicrosoftEdge"}' ] host-config-keys = ["Dns", "DnsOptions", "DnsSearch", "ExtraHosts", "Binds"] @@ -763,7 +763,7 @@ host-config-keys = ["Dns", "DnsOptions", "DnsSearch", "ExtraHosts", "Binds"] # Linux: varies from machine to machine, please mount /var/run/docker.sock. If this does not work, please create an issue. url = "http://127.0.0.1:2375" # Docker image used for video recording -video-image = "selenium/video:ffmpeg-7.1-20241101" +video-image = "selenium/video:ffmpeg-7.1-20241127" # Uncomment the following section if you are running the node on a separate VM # Fill out the placeholders with appropriate values @@ -816,28 +816,28 @@ virtual machines. ```bash $ docker network create grid -$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ -v ${PWD}/config.toml:/opt/selenium/config.toml \ -v ${PWD}/assets:/opt/selenium/assets \ -v /var/run/docker.sock:/var/run/docker.sock \ - selenium/node-docker:4.26.0-20241101 + selenium/node-docker:4.27.0-20241127 ``` #### Windows PowerShell ```powershell $ docker network create grid -$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub ` -e SE_EVENT_BUS_PUBLISH_PORT=4442 ` -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 ` -v ${PWD}/config.toml:/opt/selenium/config.toml ` -v ${PWD}/assets:/opt/selenium/assets ` -v /var/run/docker.sock:/var/run/docker.sock ` - selenium/node-docker:4.26.0-20241101 + selenium/node-docker:4.27.0-20241127 ``` To have the assets saved on your host, please mount your host path to `/opt/selenium/assets`. @@ -858,7 +858,7 @@ docker run --rm --name selenium-docker -p 4444:4444 \ -v ${PWD}/config.toml:/opt/selenium/config.toml \ -v ${PWD}/assets:/opt/selenium/assets \ -v /var/run/docker.sock:/var/run/docker.sock \ - selenium/standalone-docker:4.26.0-20241101 + selenium/standalone-docker:4.27.0-20241127 ``` #### Windows PowerShell @@ -868,7 +868,7 @@ docker run --rm --name selenium-docker -p 4444:4444 ` -v ${PWD}/config.toml:/opt/selenium/config.toml ` -v ${PWD}/assets:/opt/selenium/assets ` -v /var/run/docker.sock:/var/run/docker.sock ` - selenium/standalone-docker:4.26.0-20241101 + selenium/standalone-docker:4.27.0-20241127 ``` ### Using Dynamic Grid in different machines/VMs @@ -876,7 +876,7 @@ docker run --rm --name selenium-docker -p 4444:4444 ` #### Hub - Machine/VM 1 ```bash -$ docker run -d -p 4442-4444:4442-4444 --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4442-4444:4442-4444 --name selenium-hub selenium/hub:4.27.0-20241127 ``` #### Node Chrome - Machine/VM 2 @@ -891,7 +891,7 @@ $ docker run -d -p 5555:5555 \ -v ${PWD}/config.toml:/opt/selenium/config.toml \ -v ${PWD}/assets:/opt/selenium/assets \ -v /var/run/docker.sock:/var/run/docker.sock \ - selenium/node-docker:4.26.0-20241101 + selenium/node-docker:4.27.0-20241127 ``` #### Windows PowerShell @@ -904,7 +904,7 @@ $ docker run -d -p 5555:5555 ` -v ${PWD}/config.toml:/opt/selenium/config.toml ` -v ${PWD}/assets:/opt/selenium/assets ` -v /var/run/docker.sock:/var/run/docker.sock ` - selenium/node-docker:4.26.0-20241101 + selenium/node-docker:4.27.0-20241127 ``` Complete the `[server]` section in the `config.toml` file. @@ -913,9 +913,9 @@ Complete the `[server]` section in the `config.toml` file. # Configs have a mapping between the Docker image to use and the capabilities that need to be matched to # start a container with the given image. configs = [ - "selenium/standalone-firefox:4.26.0-20241101", "{\"browserName\": \"firefox\"}", - "selenium/standalone-chrome:4.26.0-20241101", "{\"browserName\": \"chrome\"}", - "selenium/standalone-edge:4.26.0-20241101", "{\"browserName\": \"MicrosoftEdge\"}" + "selenium/standalone-firefox:4.27.0-20241127", "{\"browserName\": \"firefox\"}", + "selenium/standalone-chrome:4.27.0-20241127", "{\"browserName\": \"chrome\"}", + "selenium/standalone-edge:4.27.0-20241127", "{\"browserName\": \"MicrosoftEdge\"}" ] # URL for connecting to the docker daemon @@ -928,7 +928,7 @@ configs = [ # Linux: varies from machine to machine, please mount /var/run/docker.sock. If this does not work, please create an issue. url = "http://127.0.0.1:2375" # Docker image used for video recording -video-image = "selenium/video:ffmpeg-7.1-20241101" +video-image = "selenium/video:ffmpeg-7.1-20241127" # Uncomment the following section if you are running the node on a separate VM # Fill out the placeholders with appropriate values @@ -962,7 +962,7 @@ docker run --rm --name selenium-docker -p 4444:4444 \ -v ${PWD}/config.toml:/opt/selenium/config.toml \ -v ${PWD}/assets:/opt/selenium/assets \ -v /var/run/docker.sock:/var/run/docker.sock \ - selenium/standalone-docker:4.26.0-20241101 + selenium/standalone-docker:4.27.0-20241127 ``` #### Windows PowerShell @@ -973,7 +973,7 @@ docker run --rm --name selenium-docker -p 4444:4444 ` -v ${PWD}/config.toml:/opt/selenium/config.toml ` -v ${PWD}/assets:/opt/selenium/assets ` -v /var/run/docker.sock:/var/run/docker.sock ` - selenium/standalone-docker:4.26.0-20241101 + selenium/standalone-docker:4.27.0-20241127 ``` ### Video recording, screen resolution, and time zones in a Dynamic Grid @@ -1040,7 +1040,7 @@ ___ You can pass `SE_OPTS` variable with additional command line parameters for starting a hub or a node. ``` bash -$ docker run -d -p 4444:4444 -e SE_OPTS="--log-level FINE" --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4444:4444 -e SE_OPTS="--log-level FINE" --name selenium-hub selenium/hub:4.27.0-20241127 ``` ### SE_JAVA_OPTS Java Environment Options @@ -1048,7 +1048,7 @@ $ docker run -d -p 4444:4444 -e SE_OPTS="--log-level FINE" --name selenium-hub s You can pass `SE_JAVA_OPTS` environment variable to the Java process. ``` bash -$ docker run -d -p 4444:4444 -e SE_JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4444:4444 -e SE_JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:4.27.0-20241127 ``` ### SE_BROWSER_ARGS_* Add arguments for launching browser @@ -1094,7 +1094,7 @@ $ docker run -d \ -e SE_EVENT_BUS_HOST= \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 -e SE_NODE_STEREOTYPE="{\"browserName\":\"${SE_NODE_BROWSER_NAME}\",\"browserVersion\":\"${SE_NODE_BROWSER_VERSION}\",\"platformName\": \"Linux\"}" \ - --shm-size="2g" selenium/node-chrome:4.26.0-20241101 + --shm-size="2g" selenium/node-chrome:4.27.0-20241127 ``` ### Node configuration relay commands @@ -1132,7 +1132,7 @@ By default, Selenium is reachable at `http://127.0.0.1:4444/`. Selenium can be c environmental variable. In the example below Selenium is reachable at `http://127.0.0.1:4444/selenium-grid/` ```bash -$ docker run -d -p 4444:4444 -e SE_SUB_PATH=/selenium-grid/ --name selenium-hub selenium/hub:4.26.0-20241101 +$ docker run -d -p 4444:4444 -e SE_SUB_PATH=/selenium-grid/ --name selenium-hub selenium/hub:4.27.0-20241127 ``` ### Setting Screen Resolution @@ -1142,7 +1142,7 @@ These settings can be adjusted by specifying `SE_SCREEN_WIDTH`, `SE_SCREEN_HEIGH environmental variables when starting the container. ``` bash -docker run -d -e SE_SCREEN_WIDTH=1366 -e SE_SCREEN_HEIGHT=768 -e SE_SCREEN_DEPTH=24 -e SE_SCREEN_DPI=74 selenium/standalone-firefox:4.26.0-20241101 +docker run -d -e SE_SCREEN_WIDTH=1366 -e SE_SCREEN_HEIGHT=768 -e SE_SCREEN_DEPTH=24 -e SE_SCREEN_DPI=74 selenium/standalone-firefox:4.27.0-20241127 ``` ### Grid Url and Session Timeout @@ -1192,7 +1192,7 @@ To avoid starting the server you can set the `SE_START_XVFB` environment variabl ``` bash $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ - -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 -e SE_START_XVFB=false --shm-size="2g" selenium/node-chrome:4.26.0-20241101 + -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 -e SE_START_XVFB=false --shm-size="2g" selenium/node-chrome:4.27.0-20241127 ``` For more information, see this GitHub [issue](https://github.com/SeleniumHQ/docker-selenium/issues/567). @@ -1208,7 +1208,7 @@ pod and then scale a new one after N sessions. Set the environment variable `SE_ a value higher than zero to enable this behaviour. ``` bash -$ docker run -e SE_DRAIN_AFTER_SESSION_COUNT=5 --shm-size="2g" selenium/standalone-firefox:4.26.0-20241101 +$ docker run -e SE_DRAIN_AFTER_SESSION_COUNT=5 --shm-size="2g" selenium/standalone-firefox:4.27.0-20241127 ``` With the previous command, the Standalone container will shut down after 5 sessions have been executed. @@ -1233,7 +1233,7 @@ not set `SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP` to `true` (leave the default value `SE_BROWSER_LEFTOVERS_PROCESSES_SECS` to set a value higher than your expected long-running browser processes. ``` bash -$ docker run -e SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=true --shm-size="2g" selenium/node-chrome:4.26.0-20241101 +$ docker run -e SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=true --shm-size="2g" selenium/node-chrome:4.27.0-20241127 ``` With the previous command, the cleanup will be enabled with the default timings. @@ -1243,7 +1243,7 @@ $ docker run -e SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=true \ -e SE_BROWSER_LEFTOVERS_INTERVAL_SECS=7200 \ -e SE_BROWSER_LEFTOVERS_PROCESSES_SECS=3600 \ -e SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS=2 \ ---shm-size="2g" selenium/node-chrome:4.26.0-20241101 +--shm-size="2g" selenium/node-chrome:4.27.0-20241127 ``` With the previous command, the cleanup will be enabled, but will run every 2 hours (instead of 1), will kill browsers @@ -1475,22 +1475,22 @@ $ docker network create grid $ docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub \ --health-cmd='/opt/bin/check-grid.sh --host 0.0.0.0 --port 4444' \ --health-interval=15s --health-timeout=30s --health-retries=5 \ - selenium/hub:4.26.0-20241101 + selenium/hub:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-edge:4.26.0-20241101 + selenium/node-edge:4.27.0-20241127 $ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-firefox:4.26.0-20241101 + selenium/node-firefox:4.27.0-20241127 ``` **Note:** The `\` line delimiter won't work on Windows-based terminals, try either `^` or a backtick. @@ -1610,7 +1610,7 @@ RUN mkdir -p -m755 /seluser/.pki/nssdb \ && chown -R 1200:1201 /seluser # Start from Selenium image and add relevant files from build image -FROM selenium/node-chrome:4.26.0-20241101 +FROM selenium/node-chrome:4.27.0-20241127 USER root COPY --from=build /seluser/ /home/seluser/ USER seluser @@ -1625,7 +1625,7 @@ RUN mkdir -p "/distribution" "/certs" && \ echo '{ "policies": { "Certificates": { "Install": ["/opt/firefox-latest/YOUR_CA.pem"] }} }' >"/distribution/policies.json" # Start from Selenium image and add relevant files from build image -FROM selenium/node-firefox:4.26.0-20241101 +FROM selenium/node-firefox:4.27.0-20241127 USER root COPY --from=build /certs /opt/firefox-latest COPY --from=build /distribution /opt/firefox-latest/distribution @@ -1648,9 +1648,9 @@ You can override it with the `SE_VNC_PORT` environment variable in case you want Here is an example with the standalone images, the same concept applies to the node images. ``` bash -$ docker run -d -p 4444:4444 -p 5900:5900 --shm-size="2g" selenium/standalone-chrome:4.26.0-20241101 -$ docker run -d -p 4445:4444 -p 5901:5900 --shm-size="2g" selenium/standalone-edge:4.26.0-20241101 -$ docker run -d -p 4446:4444 -p 5902:5900 --shm-size="2g" selenium/standalone-firefox:4.26.0-20241101 +$ docker run -d -p 4444:4444 -p 5900:5900 --shm-size="2g" selenium/standalone-chrome:4.27.0-20241127 +$ docker run -d -p 4445:4444 -p 5901:5900 --shm-size="2g" selenium/standalone-edge:4.27.0-20241127 +$ docker run -d -p 4446:4444 -p 5902:5900 --shm-size="2g" selenium/standalone-firefox:4.27.0-20241127 ``` Then, you would use in your VNC client: @@ -1678,9 +1678,9 @@ You can also override it with the `SE_NO_VNC_PORT` environment variable in case Here is an example with the standalone images, the same concept applies to the node images. ``` bash -$ docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome:4.26.0-20241101 -$ docker run -d -p 4445:4444 -p 7901:7900 --shm-size="2g" selenium/standalone-edge:4.26.0-20241101 -$ docker run -d -p 4446:4444 -p 7902:7900 --shm-size="2g" selenium/standalone-firefox:4.26.0-20241101 +$ docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome:4.27.0-20241127 +$ docker run -d -p 4445:4444 -p 7901:7900 --shm-size="2g" selenium/standalone-edge:4.27.0-20241127 +$ docker run -d -p 4446:4444 -p 7902:7900 --shm-size="2g" selenium/standalone-firefox:4.27.0-20241127 ``` Then, you would use in your browser: @@ -1705,7 +1705,7 @@ In order to enable tracing in the Selenium Grid container, the following command ```bash docker network create grid docker run -d -p 16686:16686 -p 4317:4317 --net grid --name jaeger jaegertracing/all-in-one:1.54 -docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.26.0-20241101 +docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.27.0-20241127 docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_ENABLE_TRACING=true \ @@ -1713,7 +1713,7 @@ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ -e SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-chrome:4.26.0-20241101 + selenium/node-chrome:4.27.0-20241127 docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_ENABLE_TRACING=true \ @@ -1721,7 +1721,7 @@ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ -e SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-edge:4.26.0-20241101 + selenium/node-edge:4.27.0-20241127 docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ --shm-size="2g" \ -e SE_ENABLE_TRACING=true \ @@ -1729,7 +1729,7 @@ docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \ -e SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 \ -e SE_EVENT_BUS_PUBLISH_PORT=4442 \ -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 \ - selenium/node-firefox:4.26.0-20241101 + selenium/node-firefox:4.27.0-20241127 ``` You can also refer to the below docker compose yaml files to be able to start a simple grid (or) a dynamic grid. @@ -1808,7 +1808,7 @@ container in the following way: ```bash docker run -d -p 4444:4444 --shm-size="2g" \ -v /home/ubuntu/files:/home/seluser/Downloads \ - selenium/standalone-chrome:4.26.0-20241101 + selenium/standalone-chrome:4.27.0-20241127 ``` That will mount the host `/home/ubuntu/files` directory diff --git a/charts/selenium-grid/CONFIGURATION.md b/charts/selenium-grid/CONFIGURATION.md index e601584d2..f9ef20d97 100644 --- a/charts/selenium-grid/CONFIGURATION.md +++ b/charts/selenium-grid/CONFIGURATION.md @@ -1,6 +1,6 @@ # selenium-grid -![Version: 0.37.1](https://img.shields.io/badge/Version-0.37.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.26.0-20241101](https://img.shields.io/badge/AppVersion-4.26.0--20241101-informational?style=flat-square) +![Version: 0.38.0](https://img.shields.io/badge/Version-0.38.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.27.0-20241127](https://img.shields.io/badge/AppVersion-4.27.0--20241127-informational?style=flat-square) A Helm chart for creating a Selenium Grid Server in Kubernetes @@ -29,9 +29,9 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes |-----|------|---------|-------------| | global.K8S_PUBLIC_IP | string | `""` | Public IP of the host running Kubernetes cluster. This is used to access the Selenium Grid from outside the cluster when ingress is disabled or enabled without a hostname is set. This is part of constructing SE_NODE_GRID_URL and rewrite URL of `se:vnc`, `se:cdp` in the capabilities when `ingress.hostname` is unset | | global.seleniumGrid.imageRegistry | string | `"selenium"` | Image registry for all selenium components | -| global.seleniumGrid.imageTag | string | `"4.26.0-20241101"` | Image tag for all selenium components | -| global.seleniumGrid.nodesImageTag | string | `"4.26.0-20241101"` | Image tag for browser's nodes | -| global.seleniumGrid.videoImageTag | string | `"ffmpeg-7.1-20241101"` | Image tag for browser's video recorder | +| global.seleniumGrid.imageTag | string | `"4.27.0-20241127"` | Image tag for all selenium components | +| global.seleniumGrid.nodesImageTag | string | `"4.27.0-20241127"` | Image tag for browser's nodes | +| global.seleniumGrid.videoImageTag | string | `"ffmpeg-7.1-20241127"` | Image tag for browser's video recorder | | global.seleniumGrid.kubectlImage | string | `"bitnami/kubectl:latest"` | kubectl image is used to execute kubectl commands in utility jobs | | global.seleniumGrid.imagePullSecret | string | `""` | Pull secret for all components, can be overridden individually | | global.seleniumGrid.logLevel | string | `"INFO"` | Log level for all components. Possible values describe here: https://www.selenium.dev/documentation/grid/configuration/cli_options/#logging | @@ -583,7 +583,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | videoRecorder.extraVolumes | list | `[]` | Extra volumes for video recorder pod | | videoRecorder.s3 | object | `{"args":[],"command":[],"extraEnvironmentVariables":null,"imageName":"aws-cli","imagePullPolicy":"IfNotPresent","imageRegistry":"bitnami","imageTag":"latest","securityContext":{"runAsUser":0}}` | Container spec for the uploader if above it is defined as "uploader.name: s3" | | customLabels | object | `{}` | Custom labels for k8s resources | -| keda.image | object | `{"keda":{"registry":"selenium","repository":"keda","tag":"2.15.1-selenium-grid-20241101"},"metricsApiServer":{"registry":"selenium","repository":"keda-metrics-apiserver","tag":"2.15.1-selenium-grid-20241101"},"webhooks":{"registry":"selenium","repository":"keda-admission-webhooks","tag":"2.15.1-selenium-grid-20241101"}}` | Specify image for KEDA components | +| keda.image | object | `{"keda":{"registry":"selenium","repository":"keda","tag":"2.16.0-selenium-grid-20241127"},"metricsApiServer":{"registry":"selenium","repository":"keda-metrics-apiserver","tag":"2.16.0-selenium-grid-20241127"},"webhooks":{"registry":"selenium","repository":"keda-admission-webhooks","tag":"2.16.0-selenium-grid-20241127"}}` | Specify image for KEDA components | | keda.additionalAnnotations | string | `nil` | Annotations for KEDA resources | | keda.http.timeout | int | `60000` | | | keda.webhooks | object | `{"enabled":false}` | Enable KEDA admission webhooks component | diff --git a/charts/selenium-grid/Chart.yaml b/charts/selenium-grid/Chart.yaml index 625f46dd1..e458edb20 100644 --- a/charts/selenium-grid/Chart.yaml +++ b/charts/selenium-grid/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: selenium-grid description: A Helm chart for creating a Selenium Grid Server in Kubernetes type: application -version: 0.37.1 -appVersion: 4.26.0-20241101 +version: 0.38.0 +appVersion: 4.27.0-20241127 icon: https://github.com/SeleniumHQ/docker-selenium/raw/trunk/logo.png dependencies: - repository: https://kedacore.github.io/charts diff --git a/charts/selenium-grid/values.yaml b/charts/selenium-grid/values.yaml index faf6d1f8f..df6e214cc 100644 --- a/charts/selenium-grid/values.yaml +++ b/charts/selenium-grid/values.yaml @@ -7,11 +7,11 @@ global: # -- Image registry for all selenium components imageRegistry: selenium # -- Image tag for all selenium components - imageTag: 4.26.0-20241101 + imageTag: 4.27.0-20241127 # -- Image tag for browser's nodes - nodesImageTag: 4.26.0-20241101 + nodesImageTag: 4.27.0-20241127 # -- Image tag for browser's video recorder - videoImageTag: ffmpeg-7.1-20241101 + videoImageTag: ffmpeg-7.1-20241127 # -- kubectl image is used to execute kubectl commands in utility jobs kubectlImage: bitnami/kubectl:latest # -- Pull secret for all components, can be overridden individually @@ -1799,15 +1799,15 @@ keda: keda: registry: selenium repository: keda - tag: "2.15.1-selenium-grid-20241101" + tag: "2.16.0-selenium-grid-20241127" metricsApiServer: registry: selenium repository: keda-metrics-apiserver - tag: "2.15.1-selenium-grid-20241101" + tag: "2.16.0-selenium-grid-20241127" webhooks: registry: selenium repository: keda-admission-webhooks - tag: "2.15.1-selenium-grid-20241101" + tag: "2.16.0-selenium-grid-20241127" # -- Annotations for KEDA resources additionalAnnotations: http: diff --git a/docker-compose-v2-tracing.yml b/docker-compose-v2-tracing.yml index 3d68a2324..df5df9109 100644 --- a/docker-compose-v2-tracing.yml +++ b/docker-compose-v2-tracing.yml @@ -9,7 +9,7 @@ services: - "16686:16686" - "4317:4317" chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -24,7 +24,7 @@ services: - "6900:5900" edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -39,7 +39,7 @@ services: - "6901:5900" firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -54,7 +54,7 @@ services: - "6902:5900" selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 ports: - "4442:4442" - "4443:4443" diff --git a/docker-compose-v2.yml b/docker-compose-v2.yml index 086c13b1e..6010e3d91 100644 --- a/docker-compose-v2.yml +++ b/docker-compose-v2.yml @@ -4,7 +4,7 @@ version: '2' services: chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -16,7 +16,7 @@ services: - "6900:5900" edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -28,7 +28,7 @@ services: - "6901:5900" firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -40,7 +40,7 @@ services: - "6902:5900" selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 ports: - "4442:4442" - "4443:4443" diff --git a/docker-compose-v3-basicauth.yml b/docker-compose-v3-basicauth.yml index e95f0d9ac..d65e73d15 100644 --- a/docker-compose-v3-basicauth.yml +++ b/docker-compose-v3-basicauth.yml @@ -4,7 +4,7 @@ version: "3" services: chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -14,7 +14,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -24,7 +24,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -34,7 +34,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub ports: - "4442:4442" diff --git a/docker-compose-v3-dev.yml b/docker-compose-v3-dev.yml index 67730d151..75f58ad7f 100644 --- a/docker-compose-v3-dev.yml +++ b/docker-compose-v3-dev.yml @@ -4,7 +4,7 @@ version: "3" services: chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar @@ -16,7 +16,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar @@ -28,7 +28,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar @@ -40,7 +40,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar diff --git a/docker-compose-v3-dynamic-grid.yml b/docker-compose-v3-dynamic-grid.yml index bca74876e..c08a98d79 100644 --- a/docker-compose-v3-dynamic-grid.yml +++ b/docker-compose-v3-dynamic-grid.yml @@ -4,7 +4,7 @@ version: "3" services: node-docker: - image: selenium/node-docker:4.26.0-20241101 + image: selenium/node-docker:4.27.0-20241127 volumes: - ./assets:/opt/selenium/assets - ./NodeDocker/config.toml:/opt/selenium/config.toml @@ -17,7 +17,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub ports: - "4442:4442" diff --git a/docker-compose-v3-full-grid-dev.yml b/docker-compose-v3-full-grid-dev.yml index 78f8e8c68..09506258f 100644 --- a/docker-compose-v3-full-grid-dev.yml +++ b/docker-compose-v3-full-grid-dev.yml @@ -4,7 +4,7 @@ version: "3" services: selenium-event-bus: - image: selenium/event-bus:4.26.0-20241101 + image: selenium/event-bus:4.27.0-20241127 volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar container_name: selenium-event-bus @@ -14,7 +14,7 @@ services: - "5557:5557" selenium-sessions: - image: selenium/sessions:4.26.0-20241101 + image: selenium/sessions:4.27.0-20241127 volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar container_name: selenium-sessions @@ -28,7 +28,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 selenium-session-queue: - image: selenium/session-queue:4.26.0-20241101 + image: selenium/session-queue:4.27.0-20241127 volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar container_name: selenium-session-queue @@ -36,7 +36,7 @@ services: - "5559:5559" selenium-distributor: - image: selenium/distributor:4.26.0-20241101 + image: selenium/distributor:4.27.0-20241127 volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar container_name: selenium-distributor @@ -56,7 +56,7 @@ services: - SE_SESSION_QUEUE_PORT=5559 selenium-router: - image: selenium/router:4.26.0-20241101 + image: selenium/router:4.27.0-20241127 volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar container_name: selenium-router @@ -75,7 +75,7 @@ services: - SE_SESSION_QUEUE_PORT=5559 chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar @@ -87,7 +87,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar @@ -99,7 +99,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb volumes: - ./selenium_server_deploy.jar:/opt/selenium/selenium-server.jar diff --git a/docker-compose-v3-full-grid-secure.yml b/docker-compose-v3-full-grid-secure.yml index f9d70842a..b41e5dcb3 100644 --- a/docker-compose-v3-full-grid-secure.yml +++ b/docker-compose-v3-full-grid-secure.yml @@ -4,7 +4,7 @@ version: "3" services: selenium-event-bus: - image: selenium/event-bus:4.26.0-20241101 + image: selenium/event-bus:4.27.0-20241127 container_name: selenium-event-bus ports: - "4442:4442" @@ -16,7 +16,7 @@ services: - SE_ENABLE_TLS=true selenium-sessions: - image: selenium/sessions:4.26.0-20241101 + image: selenium/sessions:4.27.0-20241127 container_name: selenium-sessions ports: - "5556:5556" @@ -31,7 +31,7 @@ services: - SE_ENABLE_TLS=true selenium-session-queue: - image: selenium/session-queue:4.26.0-20241101 + image: selenium/session-queue:4.27.0-20241127 container_name: selenium-session-queue volumes: - ./charts/selenium-grid/certs:/opt/selenium/secrets @@ -41,7 +41,7 @@ services: - SE_ENABLE_TLS=true selenium-distributor: - image: selenium/distributor:4.26.0-20241101 + image: selenium/distributor:4.27.0-20241127 container_name: selenium-distributor ports: - "5553:5553" @@ -62,7 +62,7 @@ services: - SE_ENABLE_TLS=true selenium-router: - image: selenium/router:4.26.0-20241101 + image: selenium/router:4.27.0-20241127 container_name: selenium-router ports: - "4444:4444" @@ -82,7 +82,7 @@ services: - SE_ENABLE_TLS=true chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus @@ -97,7 +97,7 @@ services: - SE_SERVER_PROTOCOL=https edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus @@ -112,7 +112,7 @@ services: - SE_SERVER_PROTOCOL=https firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus diff --git a/docker-compose-v3-full-grid-swarm.yml b/docker-compose-v3-full-grid-swarm.yml index 20df55474..d700dcaf6 100644 --- a/docker-compose-v3-full-grid-swarm.yml +++ b/docker-compose-v3-full-grid-swarm.yml @@ -7,7 +7,7 @@ version: '3.7' services: chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb environment: - SE_EVENT_BUS_HOST=selenium-hub @@ -18,7 +18,7 @@ services: entrypoint: bash -c 'SE_OPTS="--host $$HOSTNAME" /opt/bin/entry_point.sh' edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb environment: - SE_EVENT_BUS_HOST=selenium-hub @@ -29,7 +29,7 @@ services: entrypoint: bash -c 'SE_OPTS="--host $$HOSTNAME" /opt/bin/entry_point.sh' firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb environment: - SE_EVENT_BUS_HOST=selenium-hub @@ -40,7 +40,7 @@ services: entrypoint: bash -c 'SE_OPTS="--host $$HOSTNAME" /opt/bin/entry_point.sh' selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 ports: - "4442:4442" - "4443:4443" diff --git a/docker-compose-v3-full-grid-tracing.yml b/docker-compose-v3-full-grid-tracing.yml index 7375f8808..f0d0b8fd3 100644 --- a/docker-compose-v3-full-grid-tracing.yml +++ b/docker-compose-v3-full-grid-tracing.yml @@ -9,7 +9,7 @@ services: - "16686:16686" - "4317:4317" selenium-event-bus: - image: selenium/event-bus:4.26.0-20241101 + image: selenium/event-bus:4.27.0-20241127 container_name: selenium-event-bus ports: - "4442:4442" @@ -22,7 +22,7 @@ services: - SE_OTEL_TRACES_EXPORTER=otlp - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 selenium-sessions: - image: selenium/sessions:4.26.0-20241101 + image: selenium/sessions:4.27.0-20241127 container_name: selenium-sessions ports: - "5556:5556" @@ -36,7 +36,7 @@ services: - SE_OTEL_TRACES_EXPORTER=otlp - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 selenium-session-queue: - image: selenium/session-queue:4.26.0-20241101 + image: selenium/session-queue:4.27.0-20241127 container_name: selenium-session-queue ports: - "5559:5559" @@ -45,7 +45,7 @@ services: - SE_OTEL_TRACES_EXPORTER=otlp - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 selenium-distributor: - image: selenium/distributor:4.26.0-20241101 + image: selenium/distributor:4.27.0-20241127 container_name: selenium-distributor ports: - "5553:5553" @@ -65,7 +65,7 @@ services: - SE_OTEL_TRACES_EXPORTER=otlp - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 selenium-router: - image: selenium/router:4.26.0-20241101 + image: selenium/router:4.27.0-20241127 container_name: selenium-router ports: - "4444:4444" @@ -84,7 +84,7 @@ services: - SE_OTEL_TRACES_EXPORTER=otlp - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus @@ -96,7 +96,7 @@ services: - SE_OTEL_TRACES_EXPORTER=otlp - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus @@ -108,7 +108,7 @@ services: - SE_OTEL_TRACES_EXPORTER=otlp - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus diff --git a/docker-compose-v3-full-grid.yml b/docker-compose-v3-full-grid.yml index 42283446b..bac547673 100644 --- a/docker-compose-v3-full-grid.yml +++ b/docker-compose-v3-full-grid.yml @@ -4,7 +4,7 @@ version: "3" services: selenium-event-bus: - image: selenium/event-bus:4.26.0-20241101 + image: selenium/event-bus:4.27.0-20241127 container_name: selenium-event-bus ports: - "4442:4442" @@ -12,7 +12,7 @@ services: - "5557:5557" selenium-sessions: - image: selenium/sessions:4.26.0-20241101 + image: selenium/sessions:4.27.0-20241127 container_name: selenium-sessions ports: - "5556:5556" @@ -24,13 +24,13 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 selenium-session-queue: - image: selenium/session-queue:4.26.0-20241101 + image: selenium/session-queue:4.27.0-20241127 container_name: selenium-session-queue ports: - "5559:5559" selenium-distributor: - image: selenium/distributor:4.26.0-20241101 + image: selenium/distributor:4.27.0-20241127 container_name: selenium-distributor ports: - "5553:5553" @@ -48,7 +48,7 @@ services: - SE_SESSION_QUEUE_PORT=5559 selenium-router: - image: selenium/router:4.26.0-20241101 + image: selenium/router:4.27.0-20241127 container_name: selenium-router ports: - "4444:4444" @@ -65,7 +65,7 @@ services: - SE_SESSION_QUEUE_PORT=5559 chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus @@ -75,7 +75,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus @@ -85,7 +85,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-event-bus diff --git a/docker-compose-v3-swarm.yml b/docker-compose-v3-swarm.yml index 20df55474..d700dcaf6 100644 --- a/docker-compose-v3-swarm.yml +++ b/docker-compose-v3-swarm.yml @@ -7,7 +7,7 @@ version: '3.7' services: chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb environment: - SE_EVENT_BUS_HOST=selenium-hub @@ -18,7 +18,7 @@ services: entrypoint: bash -c 'SE_OPTS="--host $$HOSTNAME" /opt/bin/entry_point.sh' edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb environment: - SE_EVENT_BUS_HOST=selenium-hub @@ -29,7 +29,7 @@ services: entrypoint: bash -c 'SE_OPTS="--host $$HOSTNAME" /opt/bin/entry_point.sh' firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb environment: - SE_EVENT_BUS_HOST=selenium-hub @@ -40,7 +40,7 @@ services: entrypoint: bash -c 'SE_OPTS="--host $$HOSTNAME" /opt/bin/entry_point.sh' selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 ports: - "4442:4442" - "4443:4443" diff --git a/docker-compose-v3-tracing.yml b/docker-compose-v3-tracing.yml index 18352da0f..847dd3840 100644 --- a/docker-compose-v3-tracing.yml +++ b/docker-compose-v3-tracing.yml @@ -9,7 +9,7 @@ services: - "16686:16686" - "4317:4317" chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -22,7 +22,7 @@ services: - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -35,7 +35,7 @@ services: - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -48,7 +48,7 @@ services: - SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub ports: - "4442:4442" diff --git a/docker-compose-v3-video-upload-dynamic-grid.yml b/docker-compose-v3-video-upload-dynamic-grid.yml index de9ae5b79..a9ddb40be 100644 --- a/docker-compose-v3-video-upload-dynamic-grid.yml +++ b/docker-compose-v3-video-upload-dynamic-grid.yml @@ -16,7 +16,7 @@ services: stop_grace_period: 30s node-docker: - image: selenium/node-docker:4.26.0-20241101 + image: selenium/node-docker:4.27.0-20241127 volumes: - ./assets:/opt/selenium/assets - ./NodeDocker/config.toml:/opt/selenium/config.toml @@ -42,7 +42,7 @@ services: - SE_RCLONE_CONFIG_MYFTP_FTP_CONCURRENCY=10 selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub ports: - "4442:4442" diff --git a/docker-compose-v3-video-upload-standalone.yml b/docker-compose-v3-video-upload-standalone.yml index 1f855e3cf..b2698dfe7 100644 --- a/docker-compose-v3-video-upload-standalone.yml +++ b/docker-compose-v3-video-upload-standalone.yml @@ -17,7 +17,7 @@ services: stop_grace_period: 30s standalone_chrome: - image: selenium/standalone-chrome:4.26.0-20241101 + image: selenium/standalone-chrome:4.27.0-20241127 shm_size: 2gb ports: - "4444:4444" @@ -27,7 +27,7 @@ services: - SE_SUB_PATH=/selenium standalone_edge: - image: selenium/standalone-edge:4.26.0-20241101 + image: selenium/standalone-edge:4.27.0-20241127 shm_size: 2gb ports: - "5444:4444" @@ -37,7 +37,7 @@ services: - SE_SUB_PATH=/selenium standalone_firefox: - image: selenium/standalone-firefox:4.26.0-20241101 + image: selenium/standalone-firefox:4.27.0-20241127 shm_size: 2gb ports: - "6444:4444" @@ -47,7 +47,7 @@ services: - SE_SUB_PATH=/selenium chrome_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 depends_on: - standalone_chrome environment: @@ -71,7 +71,7 @@ services: stop_grace_period: 30s edge_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 depends_on: - standalone_edge environment: @@ -95,7 +95,7 @@ services: stop_grace_period: 30s firefox_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 depends_on: - standalone_firefox environment: diff --git a/docker-compose-v3-video-upload.yml b/docker-compose-v3-video-upload.yml index 04f3bf571..109103bba 100644 --- a/docker-compose-v3-video-upload.yml +++ b/docker-compose-v3-video-upload.yml @@ -17,7 +17,7 @@ services: stop_grace_period: 30s chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -27,7 +27,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -37,7 +37,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -47,7 +47,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 chrome_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 depends_on: - chrome environment: @@ -67,7 +67,7 @@ services: - RCLONE_CONFIG_MYFTP_FTP_CONCURRENCY=10 edge_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 depends_on: - edge environment: @@ -87,7 +87,7 @@ services: - RCLONE_CONFIG_MYFTP_FTP_CONCURRENCY=10 firefox_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 depends_on: - firefox environment: @@ -107,7 +107,7 @@ services: - RCLONE_CONFIG_MYFTP_FTP_CONCURRENCY=10 selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub ports: - "4442:4442" diff --git a/docker-compose-v3-video.yml b/docker-compose-v3-video.yml index 5ffa590ed..7c09b3e4b 100644 --- a/docker-compose-v3-video.yml +++ b/docker-compose-v3-video.yml @@ -4,7 +4,7 @@ version: "3" services: chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -14,7 +14,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -24,7 +24,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -34,7 +34,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 chrome_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 volumes: - /tmp/videos:/videos depends_on: @@ -46,7 +46,7 @@ services: - SE_VIDEO_FILE_NAME=auto edge_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 volumes: - /tmp/videos:/videos depends_on: @@ -58,7 +58,7 @@ services: - SE_VIDEO_FILE_NAME=auto firefox_video: - image: selenium/video:ffmpeg-7.1-20241101 + image: selenium/video:ffmpeg-7.1-20241127 volumes: - /tmp/videos:/videos depends_on: @@ -70,7 +70,7 @@ services: - SE_VIDEO_FILE_NAME=auto selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub ports: - "4442:4442" diff --git a/docker-compose-v3.yml b/docker-compose-v3.yml index b9626adcc..3cbe9a9c0 100644 --- a/docker-compose-v3.yml +++ b/docker-compose-v3.yml @@ -4,7 +4,7 @@ version: "3" services: chrome: - image: selenium/node-chrome:4.26.0-20241101 + image: selenium/node-chrome:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -14,7 +14,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 edge: - image: selenium/node-edge:4.26.0-20241101 + image: selenium/node-edge:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -24,7 +24,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 firefox: - image: selenium/node-firefox:4.26.0-20241101 + image: selenium/node-firefox:4.27.0-20241127 shm_size: 2gb depends_on: - selenium-hub @@ -34,7 +34,7 @@ services: - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 selenium-hub: - image: selenium/hub:4.26.0-20241101 + image: selenium/hub:4.27.0-20241127 container_name: selenium-hub ports: - "4442:4442"