我正在尝试创建一个PowerShell脚本来打开Internet Explorer,导航到https://clockify.me/login,填写电子邮件和密码输入并提交表单或单击登录按钮.
问题是,在使用以下方法填充输入时:
document.getElementById("email").value="123"document.getElementById("password").value="123"我有以下结果:
document.forms[0].submit(),网页重新加载网址https://clockify.me/login?email=&password=并且没有任何反应那么,有没有办法解决这个问题?使用纯粹的javascript或PowerShell(我希望保持IE窗口不可见)
谢谢!