/*public static API_SuperSecureBank login_DefaultValues(this API_JPetStore jPetStore) * { * jPetStore.open("/shop/signonForm.do"); * jPetStore.ie.buttons()[1].click(); * return jPetStore; * }*/ public static API_SuperSecureBank login(this API_SuperSecureBank ssb, string username, string password) { ssb.homePage(); var ie = ssb.ie; ie.link("Log in").flash().click(); ie.field("ctl00_MainContent_UserName").value(username); ie.field("ctl00_MainContent_Password").value(password); ie.button("Log In").click(); return(ssb); }
public static API_SuperSecureBank homePage(this API_SuperSecureBank ssb) { ssb.open(""); return(ssb); }