Add back in the port variables since they're not just passed to wd, but also when launching ChromeDriver or PhantomJS