Extension method to switch browser

Created an extension method to switch browser by expected condition with
test
Renamed WebDriverFactory