{
  "Name": "GNR_SEGUE",
  "CreationDate": "2023-8-24",
  "Commands": [
    {
      "Command": "store",
      "Target": "true",
      "Value": "!errorignore",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "SemTarefa",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://www.ganharnasredes.com/painel/?pagina=sistema",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "select",
      "Target": "id=contatt",
      "Value": "value=401973",
      "Description": "Colocar o Id da conta aqui"
    },
    {
      "Command": "select",
      "Target": "id=ta",
      "Value": "value=2",
      "Targets": [
        "id=ta",
        "name=ta",
        "xpath=//*[@id=\"ta\"]",
        "xpath=//select[@id='ta']",
        "xpath=//select[2]",
        "css=#ta"
      ],
      "Description": "Colocar o Id da conta aqui"
    },
    {
      "Command": "click",
      "Target": "id=btn_iniciar",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "20000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"tarefa\"]/h3",
      "Value": "Tarefas Esgotadas",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "SemTarefa",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"tarefa\"]/b",
      "Value": "[TT] Curtir Publicação",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "TarefaNRealiza",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "ContinuarTarefaSeguir",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "linkText=Acesso Direto",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1500",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=1",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1500",
      "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/div[2]/div/div/button/div",
      "Value": "Seguir",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "TarefaNRealiza",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "OK",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "OKCurtir",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "id=btn-confirmar",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "TAB=CLOSEALLOTHER",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "10000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "linkText=Acessar Perfil",
      "Value": "Acessar Perfil",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "ContinuarTarefaSeguir",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"tarefa\"]/b",
      "Value": "[TT] Curtir Publicação",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "TarefaNRealiza",
      "Description": ""
    },
    {
      "Command": "run",
      "Target": "GNR_SEGUE",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "TarefaNRealiza",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "id=btn-pular",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "TAB=CLOSEALLOTHER",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "10000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"tarefa\"]/b",
      "Value": "[TT] Seguir Perfil",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "ContinuarTarefaSeguir",
      "Description": ""
    },
    {
      "Command": "assertText",
      "Target": "xpath=//*[@id=\"tarefa\"]/b",
      "Value": "[TT] Curtir Publicação",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "TarefaNRealiza",
      "Description": ""
    },
    {
      "Command": "run",
      "Target": "GNR_SEGUE",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "TarefaCurtir",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "ContinuarTarefaCurtir",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "linkText=Acesso Direto",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1500",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=1",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1500",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "refresh",
      "Target": "https://www.tiktok.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "!${!LASTCOMMANDOK}",
      "Value": "OKCurtir",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "refresh",
      "Target": "https://www.tiktok.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "!${!LASTCOMMANDOK}",
      "Value": "OKCurtir",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "refresh",
      "Target": "https://www.tiktok.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "verifyElementPresent",
      "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "TarefaNRealiza",
      "Description": ""
    },
    {
      "Command": "gotoIf_v2",
      "Target": "${!LASTCOMMANDOK}",
      "Value": "OKCurtir",
      "Description": ""
    },
    {
      "Command": "run",
      "Target": "GNR_SEGUE",
      "Value": "",
      "Description": ""
    }
  ]
}