polish logs

This commit is contained in:
Urko 2023-07-02 23:08:07 +02:00
parent ad8ed58366
commit bbc94e0375
1 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@ func NewArcherAx50(page *rod.Page) ArcherAx50 {
}
func (p ArcherAx50) Login(user, pass string) error {
time.Sleep(time.Millisecond * 1250)
time.Sleep(time.Millisecond * 1850)
p.page.MustEvaluate(&rod.EvalOptions{
JS: `() => {
@ -38,9 +38,10 @@ func (p ArcherAx50) Login(user, pass string) error {
v.focus();
v.value="` + pass + `";
})
return '';
return log;
}`,
})
time.Sleep(time.Millisecond * 250)
log.Println(p.passwordID, "DONE")