问题描述
如何在 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 (将#修改为@)