Я новичок в imacros и пытаюсь трижды записать скрипт iMacros в iMacros v8.9.7 (Mozilla Firefox 45). Из записи есть разница в результате.
Первая попытка
EVENT TYPE=CLICK SELECTOR="#facebook>BODY>DIV:nth-of-type(13)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>LABEL>INPUT" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#facebook>BODY>DIV:nth-of-type(13)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>LABEL>INPUT" CHARS="NDJDNJDNDJND"
EVENT TYPE=CLICK SELECTOR="#facebook>BODY>DIV:nth-of-type(13)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#facebook>BODY>DIV:nth-of-type(13)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV" CHARS="KKKKKKKKKK"
Во-вторых,
EVENT TYPE=CLICK SELECTOR="#facebook>BODY>DIV:nth-of-type(15)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>LABEL>INPUT" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#facebook>BODY>DIV:nth-of-type(15)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>LABEL>INPUT" CHARS="NDJDNJDNDJND"
EVENT TYPE=CLICK SELECTOR="#facebook>BODY>DIV:nth-of-type(15)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#facebook>BODY>DIV:nth-of-type(15)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV" CHARS="KKKKKKKKKK"
В-третьих,
EVENT TYPE=CLICK SELECTOR="#facebook>BODY>DIV:nth-of-type(12)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>LABEL>INPUT" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#facebook>BODY>DIV:nth-of-type(12)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>LABEL>INPUT" CHARS="NDJDNJDNDJND"
EVENT TYPE=CLICK SELECTOR="#facebook>BODY>DIV:nth-of-type(12)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#facebook>BODY>DIV:nth-of-type(12)>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV>DIV>DIV>DIV>DIV:nth-of-type(2)>DIV>DIV>DIV:nth-of-type(2)>DIV" CHARS="KKKKKKKKKK"
Разница между результатом заключается в значении SELECTOR="#facebook>BODY>DIV:nth-of-type(12)
, то есть (12)
(13)
и (15)
. Проблема в том, что я не могу использовать этот скрипт, потому что значение всегда менялось. Поэтому я пытаюсь изменить на SELECTOR="#facebook>BODY>DIV:nth-of-type(*)
и SELECTOR="#facebook>BODY>DIV:*
, но это не сработало.
Мне просто интересно, что нужно изменить? Я очень благодарен за ваш ответ ..