I recognize a time from a picture, I verify the time with Google’s Israeli clock and I want to do it not at the exact time, it will verify these up to 10 minutes from the time, that is, if the time in the picture is 11:01 p.m. and on the clock it is 11:05 p.m., then up to 10 minutes from the time it will verify that it is OK and if it is It will be 23:17 it won’t be right
{
"Name": "test ocr",
"CreationDate": "2022-11-28",
"Commands": [
{
"Command": "OCRExtractRelative",
"Target": "payment_dpi_192.png",
"Value": "t",
"Description": ""
},
{
"Command": "echo",
"Target": "The ori text is: ${t}",
"Value": "blue",
"Description": ""
},
{
"Command": "open",
"Target": "https://www.google.com/search?q=israel+clock&oq=israel+clock&aqs=chrome..69i57j0i512l3j0i22i30l6.2576j0j9&sourceid=chrome&ie=UTF-8",
"Value": "",
"Description": ""
},
{
"Command": "assertText",
"Target": "xpath=//*[@id=\"rso\"]/div/div/div/div/div/div",
"Value": "${t}",
"Description": ""
},
{
"Command": "verifyText",
"Target": "xpath=//*[@id=\"rso\"]/div/div/div/div/div/div",
"Value": "",
"Description": ""
}
]
}