}
if (!runningOnSauceLabs
&& Boolean.parseBoolean(System.getProperty(WebDriverProvider.REUSE_BROWSER_PROPERTY))) {
webDriverProvider = new PooledRemoteWebDriverFactory(serverUrl);
} else {
webDriverProvider = new RemoteWebDriverFactory(serverUrl);
}
}
return webDriverProvider;
}