All Downloads are FREE. Search and download functionalities are using the official Maven repository.

core.support.objects.UserObject Maven / Gradle / Ivy

package core.support.objects;

import core.uiCore.webElement.EnhancedBy;

public class UserObject {

	/**
	 * variables
	 */
	public String username = "";
	public String password = "";
	EnhancedBy loginSuccessElement = null;
	
	public UserObject withUsername(String username) {
		this.username = username;
		return this;
	}
	
	public UserObject withPassword(String password) {
		this.password = password;
		return this;
	}
	
	public UserObject withSuccessIndicator(EnhancedBy loginSuccessElement) {
		this.loginSuccessElement = loginSuccessElement;
		return this;
	}
	
	public String getUsername() {
		return this.username;
	}
	
	public String getPassword() {
		return this.password;
	}
	
	public EnhancedBy getSuccessIndicator() {
		return this.loginSuccessElement;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy