Code: Select all
iMacros for Chrome Version 8.4.4 Free + BRAVE Version 1.16.68 Chromium: 86.0.4240.111 + Win10 64
I'm creating macro with every page REFRESH there are 16 possible random extracts. And each extract corresponce to 16 diffferent eval value.
So after every extract i set, i added
Code: Select all
SET !EXTRACT NULL
Code: Select all
*
Like this
Code: Select all
https://attachments.labeling-data.net/61d6064a23f8b40017ec5ede%2Fjpeg%2Fbebd7ce4-3ad6-42b9-9357-75f45e66a4eb?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNl
Code: Select all
https://attachments.labeling-data.net/61d6064a23f8b40017ec5ede*
Code: Select all
*
this is 1 of the 16 extracts i'm usingRuntimeError: TAG command can not be executed because it requires a Web page loaded in active tab. Current page is chrome-extension://dbidgemmidkmkilgihpaaeojnciiibbm/extractDialog.html, line: 3
Code: Select all
TAG POS=1 TYPE=IMG ATTR=SRC:https://attachments.labeling-data.net/61d620eae3923e001121a4f1* EXTRACT=HREF
SET !VAR1 EVAL("if (\"{{!EXTRACT}}\" == \"#EANF#\") {var s = \"Other\";} else {var s = \"\";} s;")
TAG SELECTOR="HTML>BODY>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>FORM>DIV>TEXTAREA" CONTENT={{!VAR1}}
SET !EXTRACT NULL
WAIT SECONDS=10