Refactoring running of selenium tests environment, so that it would be easier to do that.