}
public ElementLocatorFactory getLocatorFor(WebDriver driver) {
String locatorType = ThucydidesSystemProperty.THUCYDIDES_LOCATOR_FACTORY.from(environmentVariables,"SmartElementLocatorFactory");
if (locatorType.equals("AjaxElementLocatorFactory")) {
return new AjaxElementLocatorFactory(driver, timeoutInSeconds);
} else if (locatorType.equals("DefaultElementLocatorFactory")) {
return new DefaultElementLocatorFactory(driver);
} else if (locatorType.equals("SmartElementLocatorFactory")){
return new SmartElementLocatorFactory(driver, timeoutInSeconds);
} else {