如何解决如何找到 XPath 以匹配 Google 邮件网络中的搜索字段以用于 Tagui?
如何在 GMail 网络客户端或使用 GMail 帐户自动读取和写入邮件。
我目前有以下代码:
// For this .tag flow to work,please add a file with the name tagui_local.csv.
// In this file,add the following lines:
// OBJECT,DEFINITION
// google_username,[your_google_username]
// google_password,[your_google_password]
// If the file already exists,only add the last 2 lines to it.
// Then,start the flow via console by typing
// cd C:/tagui/flows[enter]
// tagui 2-[tab][enter]
echo Login to `google_username`
wait 1
keyboard [win]r
keyboard chrome.exe[enter]
keyboard [ctrl][shift]n
keyboard https://accounts.google.com[enter]
wait 1
// New Login
keyboard `google_username`
keyboard [enter]
wait 1
keyboard `google_password`
keyboard [enter]
echo Logged in.
wait 1
keyboard [ctrl]t
keyboard https://gmail.com[enter]
wait 3
click (//input[@placeholder="In E-Mails suchen"])
在德语版本的 mail.google.com 中在 Tagui 中执行此操作:
click (//input[@placeholder="In E-Mails suchen"])[1]
给我:
ERROR - cannot find (//input[@placeholder="In E-Mails suchen"])[1]
这是我尝试在 Chrome 控制台本身中匹配 XPath 时得到的结果:它也没有找到该元素。
你知道我如何匹配这个字段吗?为什么这是隐藏/匿名的?
使用 Thunderbird 和 POP3 等本地客户端有没有更好的解决方案?
亲切的问候和感谢,
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。