{
  "Name": "E2A",
  "CreationDate": "2023-2-21",
  "Commands": [
    {
      "Command": "store",
      "Target": "true",
      "Value": "!errorignore",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://e2a.app/api/task_tab?social=tiktok&username=rooster2023_&token=736a9fdb1f2734012c94796aaf7b9a087a5d8e1246ecc688eba135e3b0a8a02e",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "10000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"modal_actions\"]/div/div[2]/div/div[3]/p",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"modal_actions\"]/div/div[2]/div/div[3]/p",
        "xpath=//div[3]/p",
        "css=#modal_actions > div.modal-content.center-align > div.task_area.col-12.row > div.task_selection.row.col-12 > div:nth-child(3) > p"
      ],
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"btn_view_action\"]/span",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"btn_view_action\"]/span",
        "xpath=//div[2]/a/span",
        "css=#btn_view_action > span.has_icon.white-text"
      ],
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=1",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "//*[text()[contains(.,'Seguir')]]",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "refresh",
      "Target": "https://www.tiktok.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "waitForElementVisible",
      "Target": "xpath=//*[@id=\"main-content-others_homepage\"]/div/div/div/div[2]/div/div[2]/div",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"main-content-others_homepage\"]/div/div/div/div[2]/div/div[2]/div",
        "xpath=//div[2]/div[2]/div/div/div/div[2]/div/div[2]/div",
        "css=#main-content-others_homepage > div > div.tiktok-1g04lal-DivShareLayoutHeader-StyledDivShareLayoutHeaderV2.enm41492 > div.tiktok-1gk89rh-DivShareInfo.ekmpd5l2 > div.tiktok-1hdrv89-DivShareTitleContainer.ekmpd5l3 > div > div.tiktok-1djryq8-DivMessageContainer.e18e4obn1 > div"
      ],
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "OK",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//video",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"app\"]/div[3]/div[3]/div[2]/div[2]/div[2]/div[2]/button",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"app\"]/div[3]/div[3]/div[2]/div[2]/div[2]/div[2]/button",
        "xpath=//div[2]/div[2]/button",
        "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-1qg2388-DivBrowserModeContainer.e11s2kul0 > div.tiktok-3q30id-DivContentContainer.e1mecfx00 > div.tiktok-1h8ubbu-DivMainContent.e1mecfx01 > div.tiktok-iwpir3-DivContainer.ehlq8k30 > div.tiktok-4gicbl-DivCopyLinkContainer.ehlq8k33 > button"
      ],
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "//*[text()[contains(.,'Seguir')]]",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "refresh",
      "Target": "https://www.tiktok.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"main-content-video_detail\"]/div/div[2]/div/div[2]/div/button",
      "Value": "Seguindo",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "OK",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "//*[text()[contains(.,'Seguir')]]",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "refresh",
      "Target": "https://www.tiktok.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"main-content-others_homepage\"]/div/div/div/div[2]/div/div/button",
      "Value": "Seguir",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "TarefaNRealiza",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"main-content-video_detail\"]/div/div[2]/div/div[2]/div/button",
      "Value": "Seguir",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "TarefaNRealiza",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "OK",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"confirm_action\"]/span",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"confirm_action\"]/span",
        "xpath=//button[2]/span",
        "css=#confirm_action > span"
      ],
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "TAB=CLOSEALLOTHER",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "run",
      "Target": "e2a",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "TarefaNRealiza",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"ignore_action\"]/span",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"ignore_action\"]/span",
        "xpath=//button/span",
        "css=#ignore_action > span"
      ],
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "TAB=CLOSEALLOTHER",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "20000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "run",
      "Target": "e2a",
      "Value": "",
      "Description": ""
    }
  ]
}