- I have a Node app running locally with Express + React + etc.
- I have an /etc/hosts entry mapping 127.0.0.1 to a necessary hostname
127.0.0.1 really.important.mycompany.com
- I have a standalone Docker image running selenium with standalone Chrome (https://hub.docker.com/r/selenium/standalone-chrome/)
- I have a webdriverio (http://webdriver.io/) suite of tests that need to run against the really.important.mycompany.com local hostname.
- I start the Docker image with:
docker run --name mycompany-selenium --add-host -d --rm -p 4444:4444 selenium/standalone-chrome