{
  "Name": "CafeF-Indices-crawl",
  "CreationDate": "2025-8-22",
  "Commands": [
    {
      "Command": "echo",
      "Target": "--- Begin count ticker volume ---",
      "Value": "green",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "nodisplay",
      "Value": "!replayspeed",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!ErrorIgnore",
      "Description": ""
    },
    {
      "Command": "openBrowser",
      "Target": "https://dulieu.nguoiquansat.vn/du-lieu-giao-dich",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "3000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "type",
      "Target": "xpath=/html/body/div[1]/div[4]/div/div/div/div[1]/div/form/div[2]/div[2]/input[2]",
      "Value": "VN-Index",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=/html/body/div[1]/div[4]/div/div/div/div[1]/div/form/div[2]/div[4]/button[1]",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[4]",
      "Value": "basic",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[6]",
      "Value": "high",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[7]",
      "Value": "low",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[8]",
      "Value": "open",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[9]",
      "Value": "close",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[12]",
      "Value": "volume",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[13]",
      "Value": "value1",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "echo // ${value1}",
      "Value": "green",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "executeScript // var myRe = /\\d/;\nvar myArray = myRe.exec(${value1}); return myArray",
      "Value": "value2",
      "Description": ""
    },
    {
      "Command": "executeScript",
      "Target": "return ${value1}*1000000000;",
      "Value": "value2",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${basic}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${high}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${low}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${open}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${close}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${volume}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${value2}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "csvSave",
      "Target": "Trading-Indices.csv",
      "Value": "",
      "Description": ""
    }
  ]
}