Forked from https://github.com/ddev/ddev-selenium-standalone-chrome
ddev get https://github.com/Leuchtfeuer/ddev-selenium-standalone-chrome/archive/refs/tags/0.0.3.tar.gz
, where0.0.3.tar.gz
is the latest release.ddev restart
- Optional. Update the provided .ddev/config.selenium-standalone-chrome.yaml as you see fit (and remove the #ddev-generated line). You can also just override lines in your .ddev/config.yaml
- Optional. Check config.selenium-standalone-chrome.yaml and docker-compose.selenium-chrome.yaml into your source control.
- Update by re-running
ddev get https://github.com/Leuchtfeuer/ddev-selenium-standalone-chrome/archive/refs/tags/0.0.3.tar.gz
(or the latest release).
On your host, browse to https://[DDEV SITE URL]:7900 (password: secret
) to watch tests run with noVNC (neat!).
This enables you to quickly see what is going on with your tests.
If you use Behat as a test running, adjust your behat.yml
extensions:
Behat\MinkExtension:
base_url: http://web
selenium2:
wd_host: http://selenium-chrome:4444/wd/hub
capabilities:
chrome:
switches:
- "--disable-gpu"
- "--headless"
- "--no-sandbox"
- "--disable-dev-shm-usage"