Commit 96a4725a authored by Dominique Barton's avatar Dominique Barton 🦄
Browse files

DOC: Update Selenium docs

parent 073597cf
Selenium
========
`Selenium <https://www.selenium.dev/>`_ is a browser automation project.
We're running our own `Selenium <https://selenium.confirm.ch>`_ Grid service for simple browser testing.
We're using `Selenium`_ to automate browser testing in our Python & Django projects.
To test multiple browsers the same time, we're using `Selenium Grid <https://www.selenium.dev/documentation/en/grid/>`_.
.. important::
The PyPi server is deployed via GitLab CI from the `Selenium project <https://git.confirm.ch/confirm/selenium>`_ and is only available from within private networks.
Selenium Docker Images
----------------------
......@@ -14,8 +15,8 @@ There are `official Selenium Docker images <https://github.com/SeleniumHQ/docker
1. The `official Selenium Docker images`_ fail from time to time (due to changes in the API's)
2. The `official Selenium Docker images`_ don't have support for `WebGL <https://get.webgl.org/>`_ and crash
Selenium Compose Files
----------------------
Running Selenium locally
------------------------
To run your own Selenium Grid Docker containers, have a look at the `example Compose files <https://git.confirm.ch/confirm/docker-images/selenium/-/tree/master/compose>`_ or use the `selenium-ctl <https://git.confirm.ch/confirm/docker-images/selenium/-/raw/master/selenium-ctl>`_ script:
......@@ -33,3 +34,8 @@ To run your own Selenium Grid Docker containers, have a look at the `example Com
# Stop the Selenium containers.
./selenium-ctl down
.. note::
After running the commands above, you should've a Selenium Grid running on ``http://localhost:4444/wd/hub``.
Have a look at the ``selenium-*.yml`` Docker Compose files after running ``selenium-ctl`` to see what Docker containers are deployed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment