We have IP cameras at work with user accounts. I’m trying to automate the login process. I figured out how to input username and password from PowerShell, but I’m not sure how to login.
So, the username is “Cam1”, and the password is “P@$$word”. But when I type in $web.Forms, it doesn’t show any forms, so I don’t now what to do.
I noticed it have a login(), but how would I do that?
outerText :
tagName : DIV
class : login-item
innerHTML :
innerText :
outerHTML :
outerText :
tagName : BUTTON
class : btn btn-primary login-btn
type : button
ng-click : login()
PS C:\WINDOWS\system32> $web.InputFields
innerHTML :
innerText :
outerHTML :
outerText :
tagName : INPUT
class : login-input
id : username
type : text
maxlength : 32
placeholder : Cam1
autocomplete : off
ng-model : username
innerHTML :
innerText :
outerHTML :
outerText :
tagName : INPUT
class : login-input
id : password
type : password
maxlength : 16
placeholder : P@$$word
ng-model : password