I'm trying to get the values of nested array object like below,
cy.readFile("excelfile_path", null).then(fulldata => {
var content = fulldata
console.log(Object.values(content));
})
Console Output Array[80896]
Problem:
- I'm not able to traverse the nested array objects
- In Console, its not printing the array keys/values/entries. could only see the total count (
i.e, Array[80896]
)
Expected:
- Search for a string across the FULL array objects and replace with that new string.
Example: var FindString = "AU5000" var ReplaceString = "THANKYOU01"