Compare commits
No commits in common. "bbc94e037513469155f7c1f8bf6c716b05df0ad9" and "db9f7495aa0ac04e527e989aff4dea4aab9c6fac" have entirely different histories.
bbc94e0375
...
db9f7495aa
|
@ -29,7 +29,7 @@ func NewArcherAx50(page *rod.Page) ArcherAx50 {
|
|||
}
|
||||
|
||||
func (p ArcherAx50) Login(user, pass string) error {
|
||||
time.Sleep(time.Millisecond * 1850)
|
||||
time.Sleep(time.Millisecond * 1250)
|
||||
|
||||
p.page.MustEvaluate(&rod.EvalOptions{
|
||||
JS: `() => {
|
||||
|
@ -38,10 +38,9 @@ func (p ArcherAx50) Login(user, pass string) error {
|
|||
v.focus();
|
||||
v.value="` + pass + `";
|
||||
})
|
||||
return log;
|
||||
return '';
|
||||
}`,
|
||||
})
|
||||
|
||||
time.Sleep(time.Millisecond * 250)
|
||||
|
||||
log.Println(p.passwordID, "DONE")
|
||||
|
@ -52,7 +51,7 @@ func (p ArcherAx50) Login(user, pass string) error {
|
|||
}
|
||||
login.MustClick()
|
||||
log.Println(p.loginButtonID, "DONE")
|
||||
time.Sleep(time.Millisecond * 1550)
|
||||
time.Sleep(time.Millisecond * 850)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue