Click on "3 points" button is not possible

Hello,

I would like to click the “famous” button available in Albums,songs and Playlists on Spotify web site.

Capture

this is necessary for having a new menu like the follow picture (Sorry for the Italian lang):

image

I’m using Chrome 78.0.3904.108 and Kantu 5.2.3( I tried to update the Kantu version, but I’ve observed a lot of memory leakage, CPU usage, etc.), so I prefer to use this version.

For this purpose I’ve tried to use the following functions on the element:
-Click
-ClickAt
-Xclick

I’ve applied them to the XPATH or to the LINK, but in all cases I never reached the target, it seems that the button needs some mouse over functionality before the click.

Can someone give me a new idea in order to solve this issue?

thanks a lot

Gabriele

xclick probably works well in your case, try using xclick

I’ve tried xclick but it doesn’t work.

Where i can see the page to try ?

I do not know spotify, the page you must automate require login ?

If you can show me the page i test a code

Yes, it requires a login pages, but I’ve created an account that will expire, but for the test is enough.

    {
  "Name": "3PointsIssue",
  "CreationDate": "2019-12-13",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://open.spotify.com/",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"main\"]/div/div[4]/div[2]/div[1]/div/div/header/div/div[4]/button[2]",
      "Value": ""
    },
    {
      "Command": "type",
      "Target": "id=login-username",
      "Value": "myjjpbuprb@emlpro.com"
    },
    {
      "Command": "type",
      "Target": "id=login-password",
      "Value": "myjjpbuprbspotify"
    },
    {
      "Command": "click",
      "Target": "id=login-button",
      "Value": ""
    },
    {
      "Command": "open",
      "Target": "https://open.spotify.com/album/5nsPxa5DcIGon1O3qxLSvL",
      "Value": ""
    }
  ]
}

now you have the 3 points button near the heart button.

please let me know if you need more info.

thanks

Hi

I have automated the menu with visual image, there is not xpath or other element, it’s an hard case.

I upgrade the code to best performance and i help you to reproduce it.

Hi this is the macro code to open menu, see the video how it works, in left notification you can read the solution to automate this hard case (it’s a very difficult case this)

Macro code

{
  "Name": "spotify.com",
  "CreationDate": "2019-12-13",
  "Commands": [
    {
      "Command": "bringBrowserToForeground",
      "Target": "",
      "Value": ""
    },
    {
      "Command": "open",
      "Target": "https://open.spotify.com/album/5nsPxa5DcIGon1O3qxLSvL",
      "Value": ""
    },
    {
      "Command": "waitForPageToLoad",
      "Target": "10000",
      "Value": ""
    },
    {
      "Command": "pause",
      "Target": "10000",
      "Value": ""
    },
    {
      "Command": "echo",
      "Target": "Use TAB Key To Set Focus On Elements In The Page",
      "Value": "#shownotification"
    },
    {
      "Command": "XType",
      "Target": "${KEY_TAB}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_TAB}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_TAB}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_TAB}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_TAB}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_TAB}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_TAB}",
      "Value": ""
    },
    {
      "Command": "echo",
      "Target": "Use PAGE DOWN To Scrool The Page",
      "Value": "#shownotification"
    },
    {
      "Command": "XType",
      "Target": "${KEY_PGDN}",
      "Value": ""
    },
    {
      "Command": "XDesktopAutomation",
      "Target": "true",
      "Value": ""
    },
    {
      "Command": "echo",
      "Target": "Use Right Mouse Click To Open Menu (...)",
      "Value": "#shownotification"
    },
    {
      "Command": "XClick",
      "Target": "spotify-menu_dpi_96.png",
      "Value": "#right"
    },
    {
      "Command": "XDesktopAutomation",
      "Target": "false",
      "Value": ""
    }
  ]
}

This is the menu image but you must recreate it with your monitor and your resolution and in your macro you must use your image.

spotify-menu_dpi_96