什么是 iMacros 或等效物?

What is iMacros OR equivalent?

iMacros 中的 OR 运算符等价于什么?我想做这样的事情:

(TAG POS=1 TYPE=A ATTR=ID:u_0_10) || (TAG POS=1 TYPE=A ATTR=ID:u_0_z)

我认为 iMacros 在基本的非脚本模式下没有运算符或条件。

We did not add such statements as we do not think that our customers should have to attend week-long seminars just to learn yet another proprietary scripting or programming language. In other words, iMacros commands refer to web page elements, so any programming logic must be put into a script that then uses iMacros to automate the website. -iMacros FAQ

要使用条件或运算符,您应该在 Windows 上使用 iMacros 脚本功能。 (如果您想使用 Linux,我建议您查看 Selenium as the scripting feature for iMacros for Linux is no longer supported since 2012

iMacros returns 错误代码以查看命令是否成功完成,在您的情况下,您可以 运行 命令 "TAG POS=1 TYPE=A ATTR=ID:u_0_10" 如果它 returns 1 (1意味着如果成功了)如果它 returns 1 以外的任何数字 运行 命令 "TAG POS=1 TYPE=A ATTR=ID:u_0_z0".

则继续