Last changed
docker pull cgr.dev/chainguard/docker-selenium
Need access to a specific version? Contact us.
Get notified of upcoming product changes, critical vulnerability notifications and patches and more.
Sign InMinimal docker-selenium container image with Chromium.
The image is available on cgr.dev
:
Run the container with the following command:
Verify Selenium is running:
Access Selenium:
Access noVNC:
secret
.Any WebDriver tests should point to Selenium on on port 4444.
The following is an example ChromeDriver test using Selenium to retrieve Chainguard's homepage:
Please note that Chromium is ran in a headless state with the sandbox with GPU access disabled with the flags:
Chromium is ran headless with GPU access disabled as the container does not have GPU access.
Chromium's sandbox has been disabled as the container is sandboxed from the host environment, and because the container is running as the root user.
This can be overriden via the environment variable CHROMIUM_USER_FLAGS
though this is unsupported.
Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:
( GPL-2.0-or-later
AFL-2.1
Apache-2.0
BSD-1-Clause
BSD-2-Clause
BSD-3-Clause
BSD-4-Clause
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreement