Code: Select all
function (username password)
Sequence.FirstOrDefault
· Browser.EvalScript
· "try{var t=document.querySelector('input[type=password]').form.querySelector('input[type=\"text\"],input[type=\"email\"]');if(!t)throw 0;return[t]}catch(t){return[]}"
· 0
Browser.EnterText
· username
SelectBy.Css
· "input[type=password]"
Browser.SubmitText
· password
Browser.Wait
· 1000
State.RememberURL
Code: Select all
Login
· "username"
· "password"