Hello,
when I try upload images don´t work, option “Allow access to file URL” is enabled on UI vision RPA extension Chrome browser.
It worked for me days ago but now it doesn’t work, I’ve seen a example video of the explanation and it doesn’t work for me either.
the local path is correct because I copy and paste the path in chrome browser and it loads the image correctly.
The name of the image appears next to the button to select the file but below appears a message “Error when processing image. undefined” and the preview of the image does not appear either. If I do this whole process manually with the same image, everything works.
What could be the problem so that it does not upload the files?
Basic example where it doesn’t work for me::
{
“Name”: “subida”,
“CreationDate”: “2023-3-25”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://ocr.space/”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=imageFile”,
“Value”: “”,
“Targets”: [
“id=imageFile”,
“xpath=//[@id="imageFile"]",
“xpath=//input[@id=‘imageFile’]”,
“xpath=//div[2]/input”,
“css=#imageFile”
],
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=imageFile”,
“Value”: “C:\Users\crist\Downloads\test\ahoyadora-a-gasolina-19kw-garland-auger-1211tg-v20.jpg”,
“Targets”: [
“id=imageFile”,
"xpath=//[@id="imageFile"]”,
“xpath=//input[@id=‘imageFile’]”,
“xpath=//div[2]/input”,
“css=#imageFile”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: “linkText=Start OCR!”,
“Value”: “”,
“Description”: “”
}
]
}