techimac wrote: ↑
Sun Jun 20, 2021 6:44 am
yes its not working
thats why I said non xpath code is working
Yeah well, I couldn't guess which 'XPATH' Statement(s) you had tried if you just say "it's not working"...
Hum, OK, I tested on FF55 (iMacros for FF v8.9.7, FF v55.0.3, Win10), and this one does work for me:
Code: Select all
event type=click XPATH="(//button[@aria-label='Search reviews'])"
EVENTS TYPE=KEYPRESS XPATH="(//input[@aria-label='Search reviews'])" CHARS="iPhone"
EVENTS TYPE=KEYPRESS XPATH="(//input[@aria-label='Search reviews'])" KEYS="[37,35,13]"
=> Same v8.9.7 for FF Version like you, but on FF55, different Browser, then it looks like the Page/Site is rendered and behaves differently in different Browsers, like "we" already found out about CR + v10.1.1 for CR...
Then, I don't know..., try re-recording again the Action(s) for the 3 Keyboard Strokes together, or try some different Key Combinations...
And you always have the 'EVENT SELECTOR' Statement that works fine, you said... => Then use that one, I would think, ah-ah...! The Search Field is "relatively" at the Top of the "Reviews" Frame/Left Panel, so I would expect the 'SELECTOR' Path to remain quite "stable" and "reliable"...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...