Kali ini kami akan berikan tips Tutorial Bikin Bot AutoLike Youtube Video Dengan UI VISION. Kami akan berikan code dan juga video tutorial bagaimana cara bikin , menganalisa dan mengaplikasikannya kedalam ui vision.

Kode

{
  "Name": "likeyoutube",
  "CreationDate": "2022-2-14",
  "Commands": [
    {
      "Command": "storeAttribute",
      "Target": "xpath=//button[contains(@aria-label,\"like this video along\")]@aria-pressed",
      "Value": "isLike",
      "Description": ""
    },
    {
      "Command": "if_v2",
      "Target": "${isLike}==\"false\"",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//ytd-toggle-button-renderer/a/yt-icon-button/button/yt-icon",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "end",
      "Target": "",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "${isLike}",
      "Value": "green",
      "Description": ""
    }
  ]
}

Semoga bermanfaat