Curious case of unfunctional kantu automatization

Every day Im downloading certain information from JAO site (platform for electricity trade), so I decided to automatize that process.

Using Kantu Selenium I have made this program that is functional, but when it comes to the end where program should press button Filter and afterwards Export auctions site gives me wrong files (starting from 2018), but when I press that button manualy it gives correct files (for that certain day).

I find this strange, any ideas how to resolve problem ?

Program:

{
“Name”: “Untitled”,
“CreationDate”: “2019-3-28”,
“Commands”: [
{
“Command”: “open”,
“Target”: “Auctions | JAO S.A. Leading service provider for TSOs”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[1]/select",
“Value”: “”
},
{
“Command”: “select”,
“Target”: "//
[@id="pool"]/div[1]/div[1]/select”,
“Value”: “label=Daily”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[1]/select",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="pool"]/div[1]/div[8]/div/div[2]”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[2]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[2]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[4]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[4]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[17]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[17]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[19]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[19]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[27]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[27]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[53]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[53]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[10]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[10]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[56]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[56]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[51]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[51]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[57]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[57]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[54]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[54]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[81]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[81]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[52]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[52]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[64]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[64]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[12]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[12]/td[1]/input”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “/html/body/div[6]/table/tbody/tr[80]/td[1]/input”,
“Value”: “on”
},
{
“Command”: “click”,
“Target”: “/html/body/div[6]/table/tbody/tr[80]/td[1]/input”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[6]/input",
“Value”: “”
},
{
“Command”: “storeEval”,
“Target”: “var d= new Date(); var m=((d.getMonth()+1)<10)?‘0’+(d.getMonth()+1):(d.getMonth()+1); d.getFullYear()+"/"+m+"/"+(d.getDate()+1);”,
“Value”: “mydate”
},
{
“Command”: “type”,
“Target”: "//
[@id="pool"]/div[1]/div[6]/input”,
“Value”: “${mydate}”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[7]/input",
“Value”: “”
},
{
“Command”: “type”,
“Target”: "//
[@id="pool"]/div[1]/div[7]/input”,
“Value”: “${mydate}”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[7]/button",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="pool"]/div[1]/div[7]/input”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[6]/input",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="master-page-content"]/div[12]”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[6]/input",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="pool"]/div[1]/div[7]/input”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[7]/input",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="master-page-content"]/div[12]”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[12]",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="pool"]/div[1]/div[6]/input”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “name=SearchAuctionId”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[11]/div/div",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="pool"]/div[1]/div[6]/input”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[11]/div/div",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="pool"]/div[1]/div[11]/div/div”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “//[@id="pool"]/div[1]/div[5]/div/div",
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//
[@id="pool"]/div[1]/div[5]/div/div”,
“Value”: “”
}
]
}

Are you sure Kantu clicks the correct button? If so, maybe change click to xclick.

Btw: If you paste macro code, better use the </> tag of the forum editor. Then it is better to read:

codeformatter