$el.className.split is not a function


#1

I got that error message when I’m trying to run a saved macro. This step is about uploading a picture
image


#2

Hi! Can you please paste a test macro here that triggers the issue? (the shorter, the better)


#3
{
  "CreationDate": "2018-11-5",
  "Commands": [
{
  "Command": "open",
  "Target": "https://us.letgo.com/en",
  "Value": ""
},
{
  "Command": "click",
  "Target": "//*[@id=\"app\"]/div/div[1]/header/div/div[3]/button/span",
  "Value": ""
},
{
  "Command": "click",
  "Target": "name=dropzone-input",
  "Value": ""
},
{
  "Command": "type",
  "Target": "name=dropzone-input",
  "Value": "C:\\pic.jpg"
},
{
  "Command": "click",
  "Target": "id=price-undefined-objectObject-53089",
  "Value": ""
},
{
  "Command": "type",
  "Target": "id=price-undefined-objectObject-53089",
  "Value": "190"
},
{
  "Command": "click",
  "Target": "//*[@id=\"dialog\"]/div/section/form/div/div[3]/div[4]/button/span",
  "Value": ""
},
{
  "Command": "click",
  "Target": "//*[@id=\"dialog\"]/div/section/div/button[1]/span",
  "Value": ""
},
{
  "Command": "click",
  "Target": "id=name-undefined-objectObject-42280",
  "Value": ""
},
{
  "Command": "type",
  "Target": "id=name-undefined-objectObject-42280",
  "Value": "Recliner"
},
{
  "Command": "click",
  "Target": "id=description-undefined-objectObject-14038",
  "Value": ""
},
{
  "Command": "click",
  "Target": "id=description-undefined-objectObject-14038",
  "Value": ""
},
{
  "Command": "type",
  "Target": "id=description-undefined-objectObject-14038",
  "Value": "That's a brand new recliner you will like "
},
{
  "Command": "click",
  "Target": "name=category",
  "Value": ""
},
{
  "Command": "select",
  "Target": "name=category",
  "Value": "label=Home and Garden"
},
{
  "Command": "click",
  "Target": "name=category",
  "Value": ""
},
{
  "Command": "click",
  "Target": "//*[@id=\"dialog\"]/div/section/div/div[2]/div[2]/div/button/span",
  "Value": ""
}
  ]
}