Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redhatqe/selenium-images
Container images with the latest selenium and browsers.
https://github.com/redhatqe/selenium-images
containers selenium testing
Last synced: 3 months ago
JSON representation
Container images with the latest selenium and browsers.
- Host: GitHub
- URL: https://github.com/redhatqe/selenium-images
- Owner: RedHatQE
- License: apache-2.0
- Created: 2019-09-17T15:17:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T11:11:48.000Z (over 1 year ago)
- Last Synced: 2024-04-16T18:24:45.550Z (10 months ago)
- Topics: containers, selenium, testing
- Language: Dockerfile
- Homepage:
- Size: 88.9 KB
- Stars: 5
- Watchers: 11
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Red Hat QE Selenium Images
Fedora based container images for running UI tests. Images can be used locally and in OpenShift.
## Selenium Grid
Images in the `grid` directory are supposed to be use in the Selenium Grid. Please refer to the
[Selenium documentation](https://www.selenium.dev/documentation/grid/) for the details.## Selenium Standalone
Standalone version includes Google Chrome and Mozilla Firefox browsers. A container is supposed to
be runnning either locally or within a Kubernetes pod.This container image is capable of running on a host with FIPS crypto policies enabled.
In order to start a container locally use the following command:
`podman run -it --shm-size=2g -p 4444:4444 -p 5999:5999 quay.io/redhatqe/selenium-standalone`
* `4444`: standard selenium standalone server port
* `5999`: VNC portTo run a container within a pod use this manifest as an example:
```yaml
kind: Pod
apiVersion: v1
metadata:
name: some-name
spec:
containers:
- resources:
limits:
cpu: '1'
memory: 3Gi
requests:
cpu: '1'
memory: 3Gi
terminationMessagePath: /dev/termination-log
name: selenium
imagePullPolicy: Always
volumeMounts:
- name: shm
mountPath: /dev/shm
terminationMessagePolicy: File
image: 'quay.io/redhatqe/selenium-standalone:latest'
volumes:
- name: shm
emptyDir:
medium: Memory
sizeLimit: 2Gi
```The standalone container image also starts a small HTTP server to allow selenium to be shut down via an HTTP GET to '/shutdown' on port 8000. This is useful
when running the selenium container as a sidecar in a kubernetes pod to have your testing container shut the selenium container down when tests are completed.