Refactoring private method in webdriver-server to remove uneeded
parameter