Here is the test code that course the error on the restart after error on line 14 or 15
The resolution of screen is FHD.
{
"Name": "bug_report",
"CreationDate": "2024-9-11",
"Commands": [
{
"Command": "comment",
"Target": "",
"Value": "https://forum.ui.vision/t/when-running-the-refresh-command-i-get-the-error-error-in-invocation-of-windows-get-integer-windowid-optional-windows-queryoptions-queryoptions-function-callback-no-matching-signature/15283",
"Description": ""
},
{
"Command": "XDesktopAutomation",
"Target": "false",
"Value": "",
"Description": ""
},
{
"Command": "executeScript_Sandbox",
"Target": "return true",
"Value": "TRUE",
"Description": ""
},
{
"Command": "store",
"Target": "https://www.telcel.com/",
"Value": "base_url",
"Description": ""
},
{
"Command": "store",
"Target": "9651280697",
"Value": "phone_num",
"Description": ""
},
{
"Command": "executeScript_Sandbox",
"Target": "var d= new Date(); \nvar m=((d.getMonth()+1)<10)?'0'+(d.getMonth()+1):(d.getMonth()+1); \nvar day =(d.getDate()<10)?'0'+d.getDate():d.getDate(); \nreturn d.getFullYear()+\"-\"+m+\"-\"+day;",
"Value": "today",
"Description": ""
},
{
"Command": "open",
"Target": "https://www.telcel.com/",
"Value": "",
"Description": ""
},
{
"Command": "store",
"Target": "medium",
"Value": "!replayspeed",
"Description": ""
},
{
"Command": "XDesktopAutomation",
"Target": "true",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "hola_bandera_dpi_96.png",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "1000",
"Value": "",
"Description": ""
},
{
"Command": "selectWindow",
"Target": "title=Asistente Virtual Telcel",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "Paga_Compra_recarga_dpi_96.png",
"Value": "",
"Targets": [
"xpath=//*[@id=\"containerChat\"]/div[2]/div/div/div/div[2]/button/span",
"xpath=//div[2]/button/span",
"css=#containerChat > div:nth-child(2) > div > div > div.alinea-div-avatar.oscuro.TelcelBot.MX > div:nth-child(2) > button > span.v-btn__content"
],
"Description": ""
},
{
"Command": "XClick",
"Target": "card_dpi_96.png",
"Value": "",
"Targets": [
"xpath=//*[@id=\"containerChat\"]/div[4]/div/div[2]/div/div[2]/button/span",
"xpath=//div[2]/div/div[2]/button/span",
"css=#containerChat > div:nth-child(4) > div > div.border-second.oscuro.TelcelBot.MX > div.alinea-div-avatar.oscuro.TelcelBot.MX > div:nth-child(2) > button > span.v-btn__content"
],
"Description": ""
},
{
"Command": "selectFrame",
"Target": "index=0",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
}
]
}