找不到TAG命令指定的iMacros元素

时间:2013-11-08 11:01:53

标签: firefox runtime-error imacros

我正在获取firefox imacro插件错误代码-921。我该如何解决这个问题?

iMacro脚本

TAG POS=1 TYPE=IMG ATTR=CLASS:balance-change<SP>fail CONTENT=EVENT:MOUSEOVER

OR

TAG POS=1 TYPE=INPUT:image ATTR=CLASS:balance-change<SP>fail CONTENT=EVENT:MOUSEOVER

Firefox iMacro错误

RuntimeError: element INPUT specified by CLASS:balance-change<SP>fail
was not found, line: 1 (Error code: -921)

我的目标html标记

<div id="game-result" class="balance-change fail">
    <span id="result-text">
    LOST
    </span>
</div>

1 个答案:

答案 0 :(得分:2)

而不是

TAG POS=1 TYPE=IMG ATTR=CLASS:balance-change<SP>fail CONTENT=EVENT:MOUSEOVER

把这个

TAG POS=1 TYPE=DIV ATTR=CLASS:balance-change<SP>fail CONTENT=EVENT:MOUSEOVER