Running Selenium Tests

Because testing with Selenium is very common, we include the Selenium server along with Firefox and Google Chrome (and Chrome Driver) in our default image.

To start the Selenium server, simply add the following to your configuration:

build:
  nodes:
    functional-tests:
      environment:
        selenium: true

This will run the Selenium server in the background on the default address 127.0.0.1:4444. If your tests expect a non-standard address, just make sure to point them to this address, and run them just like you would locally in your development environment.