We’re running our own Selenium Grid service for simple browser testing.
The PyPi server is deployed via GitLab CI from the Selenium project and is only available from within private networks.
Add a new variable
RECORDwith either the value
Run the pipeline
You can also use this as GitLab multi-project pipeline trigger:
Start Recording: variables: RECORD: start trigger: project: confirm/selenium strategy: depend
Selenium Docker images
Running Selenium locally
# Get the script. curl -sSfLo selenium-ctl https://git.confirm.ch/confirm/docker-images/selenium/-/raw/master/selenium-ctl chmod 755 selenium-ctl # Enable video support. #VIDEO=1 # Start the Selenium containers. ./selenium-ctl up -d # Stop the Selenium containers. ./selenium-ctl down
After running the commands above, you should’ve a Selenium Grid running on
Have a look at the
selenium-*.yml Docker Compose files after running
selenium-ctl to see what Docker containers are deployed.