[Refactoring] WebDriverFactory refactored