找回密码
 加入
搜索
查看: 297|回复: 2

在chrome/edge輸入的問題

[复制链接]
发表于 2023-9-21 19:42:42 | 显示全部楼层 |阅读模式
本帖最后由 w60711 于 2023-9-21 19:44 编辑

翻了很久找不到之前看过的帖子...

想请教大神,如何在已经开启的chrome/edge Input中输入数据?
完全不知道如何开头...
先感谢了~

想在指定栏位分别输入帐号和密码,并点击 登入 按钮
https://login.plaync.com/nclogin ... neage2%2Fclassic%2F

帐号
<input id="current-account" name="currentAccount" type="email" placeholder="帐号/Email电子邮件" maxlength="64" autocomplete="username" autocapitalize="off" data-mode= "eng" class="">
密码
<input id="current-password" name="currentPassword" type="password" placeholder="密码" maxlength="16" autocomplete="off" autocapitalize="off" class="">[/code ]按钮
[code]<button type="submit" class="btn-login"><span>登入</span></button>
按鈕
<button type="submit" class="btn-login"><span>登入</span></button>

目前用的方法实在太过不稳定了 ><"
_SendText($Handle, 'aa123@gmail.com')
_SendKeys($Handle, '{TAB}')
_SendText($Handle, '123456789')
发表于 2023-9-21 23:33:22 | 显示全部楼层
需要使用 au3WebDriver UDF 来操作浏览器。
 楼主| 发表于 2023-9-22 12:12:14 | 显示全部楼层
gyp2000 发表于 2023-9-21 23:33
需要使用 au3WebDriver UDF 来操作浏览器。

感谢提供方法~
我再来研究一下
不过因为是对非特定对象提供使用
所以还是希望简易点较好 ^^"
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-4 22:37 , Processed in 0.073940 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表