Starts and stops a web application in selenium tests.