Attempt to make selenium tests run in containers
Using Selenium Python bindings to write sample functional/acceptance tests using Selenium WebDriver. See the documentation
The code for it is in py-test folder
To run execute the following
docker-compose up
or
docker compose -f docker-compose-py.yaml up
I run into the issue with selenium/standalone-chrome image.
I found this issue logged in SeleniumHQ project that made me change the selenium runner to seleniarm/standalone-chromium instead of selenium/standalone-chrome It's a temporary workaround. The issue was narrowed down to AppArmour. The best solution at this point is to disable AppArmour for the selenium-standalone Docker container or to disbale for Docker itself. I will look into it latersee: SeleniumHQ/docker-selenium#1677 for reference
Running Selenium tests with the help of Robot Framework