Code: Select all
TAG POS=1 TYPE=LI ATTR=TXT:Vert<SP>Div<SP>Chk<SP>WR1<SP>xxx*
When playing this, iMacros can't find the option - it times out:
Code: Select all
RuntimeError: element LI specified by TXT:Vert<SP>Div<SP>Chk<SP>WR1<SP>xxx* was not found, line 8 (Error code: -921)
Here is what was recorded using the experimental mode:
Code: Select all
EVENT TYPE=MOUSEDOWN SELECTOR="#mui-component-select-source" BUTTON=0
EVENT TYPE=MOUSEUP POINT="(352,223)"
EVENT TYPE=CLICK SELECTOR="#menu-source>DIV:nth-of-type(3)>UL>LI:nth-of-type(6)" BUTTON=0
Code: Select all
RuntimeError: Element HTML is not visible, line 7 (Error code: -921)
Code: Select all
EVENT TYPE=MOUSEUP POINT="(352,223)"
Note that I need to be able to select the option based on text as the position changes. I read somewhere that I should try to replace TYPE=LI with TYPE=SELECT, but that didn't work either.
UPDATE: The "solution" was embarrassingly simple; just deleting "EVENT TYPE=MOUSEUP POINT="(352,223)"" solved it:
Code: Select all
EVENT TYPE=MOUSEDOWN SELECTOR="#mui-component-select-source" BUTTON=0
EVENT TYPE=CLICK SELECTOR="#menu-source>DIV:nth-of-type(3)>UL>LI:nth-of-type(6)" BUTTON=0
Firefox Developer Edition (Portable) v. 55.0b2 (64-bit)
iMacros v. 8.9.7
WIN7 (64 bit)
Update: I now also tried with the latest version of iMacro, but the result was the same (for the regular recording mode):
Firefox 78.0.2 (64-bit)
iMacros 10.0.2.1450
Win7 (64-bit)