import win.ui; import web.form; /*DSG{{*/ var winform = win.form(parent=...; min=1;bottom=249;scroll=1;right=349;text="AAuto Form";max=1 ) winform.add( ) /*}}*/ //创建web窗体 var wb = web.form( winform ); //打开目标网站 wb.go("http://xxx.com/public/login.html") winform.show(true) wb.wait(""); //登录 wb.getEle("username").value="abcabc" ele = wb.getEle("password") ele.value="321321" wb.queryEles ( type="submit" ).click() //进入消息循环 win.loopMessage();
时间: 2024-10-11 16:12:15