feat: add archer ax50

This commit is contained in:
2023-07-02 19:50:59 +02:00
parent 55ed1c1b36
commit cc9c9354bc
4 changed files with 101 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ func NewHuawei(page *rod.Page) Huawei {
}
}
func (p *Huawei) Login(user, pass string) error {
func (p Huawei) Login(user, pass string) error {
username, err := p.page.Element(p.usernameID)
if err != nil {
return fmt.Errorf("page.Element %s: %s", p.userpasswordID, err)