Hi,
How can I make the Instagram like button dynamic? I don’t want to do it with Find Image activity.Can you help me?
Did you try using Dynamic selectors?
You can read about that in the forum
Regards
Hi,
I’m trying to click the next like button in the loop. The topics I read on the forum were not enough.
Can i see which selector your button is generating?
After and before you like
The selector is below. I have also attached the sample working file.
<webctrl aria-role='img' tag='svg' css-selector='body>div>section>main>section>div>div>div>div>article>div>div>div>div>section>span>button>div>span>svg' idx='1' />
Main.xaml (15.4 KB)
Can you try retrieving the css attribute with the get attribute activity and see if it’s changes?
I didn’t understand what to do.
Use the get attribute activity, and select the like button, retrieve the prioritie called css, it should change if it’s liked or isn’t, that’s what I want to try
Hi @ridvanucok ,
I was able to find a workaround, but you have to Scroll Down after each like since the robot can only detect the next Like Button if it appears on screen.
EDIT Its not required, I’ve attached a workflow for your reference towards the end of the solution
<html app='chrome.exe' title='Instagram' />
<webctrl css-selector='span.fr66n' idx='{{int_counter}}' />
Could you give this a try?
InstagramLikeButtonClick.xaml (12.4 KB)
Kind Regards,
Ashwin A.K