import io.github.boykaframework.builders.Locator;
import lombok.Getter;
@Getter
public class LoginPage {
public static LoginPage loginPage () {
return new LoginPage ();
}
private final Locator loginButton = Locator.buildLocator ()
.web (id ("login-button"))
.name ("Login Button")
.build ();
private final Locator password = Locator.buildLocator ()
.web (id ("password"))
.name ("Password")
.build ();
private final Locator username = Locator.buildLocator ()
.web (id ("user-name"))
.name ("User Name")
.build ();
private LoginPage () {
// Avoid explicit class initialization.
}
}