Command Click Not Working

Hi,

I try to auto click buttons on web but it is not working.

Below is code from my record result:

{

“Name”: “test_click”,
“CreationDate”: “2020-10-10”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://mall.shopee.co.id/shop/8260112/followers/?classic=1”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id=“shop-followers”]/ul/li[10]/div[2]",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“shop-followers”]/ul/li[10]/div[2]”,
“xpath=//li[10]/div[2]”,
“css=#shop-followers > ul > li:nth-child(10) > div.btn-follow.follow.L14”
]
},
{
“Command”: “click”,
“Target”: “xpath=//[@id=“shop-followers”]/ul/li[11]/div[2]",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“shop-followers”]/ul/li[11]/div[2]”,
“xpath=//li[11]/div[2]”,
“css=#shop-followers > ul > li:nth-child(11) > div.btn-follow.follow.L14”
]
},
{
“Command”: “click”,
“Target”: “xpath=//[@id=“shop-followers”]/ul/li[12]/div[2]",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“shop-followers”]/ul/li[12]/div[2]”,
“xpath=//li[12]/div[2]”,
“css=#shop-followers > ul > li:nth-child(12) > div.btn-follow.follow.L14”
]
}
]
}

Try another xpath or use Xclick

https://ui.vision/rpa/docs/xclick

2 Likes