Search code examples
rpauipath

RPA not clicking the 'Like' button in Child window even when anchor identified


enter image description hereI have attached the activity I did with RPA to automate clicking of Facebook 'like' button in child window. Even when the RPA activity click has successfully identified the element and anchor element, UiPath is not clicking the 'Like' button but it passed.

Here is the video representation of what I am saying.

which activity to choose to maximize browser

Chrome Dev tools Selector of <code>Like</code> button in Child window


Solution

  • It does not matter which version you use. But you better switch back to the Community version 20. In that version your process look a bit like mine. I created on account on your like4like page and tested your case.

    Process: UiPath Process

    That process clicks any Like button on the focused tab. For me that worked on several tests.

    The Click Like Button selector is:

    "<html app='firefox.exe' idx='25' /><webctrl aaname='Like' tag='A' colName='Like' innertext='Like' rowName='Like' />"
    

    You do not have to use the Attach Browser. But I would recommend that if you use more than one Click activity.

    You can find Studio and StudioX on the same page. It's a bit confusing as StudioX is currently just available on the non-stable release:

    stuido/studiox