Caught a bug with last merge.

SELENIUM_HOST and PORT weren't defined it would fail, even though SELENIUM_URI was defined. Fixed.