/*
* Copyright 2016 Hewlett-Packard Enterprise Development Company, L.P.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
*/
package com.autonomy.abc.selenium.find.application;
import com.autonomy.abc.selenium.find.login.FindHasLoggedIn;
import com.hp.autonomy.frontend.selenium.login.LoginPage;
import com.hp.autonomy.frontend.selenium.sso.HSOLoginPage;
import org.openqa.selenium.WebDriver;
public abstract class HodFindElementFactory extends FindElementFactory {
protected HodFindElementFactory(final WebDriver driver) {
super(driver);
}
@Override
public LoginPage getLoginPage() {
return new HSOLoginPage(getDriver(), new FindHasLoggedIn(getDriver()));
}
}