I'm trying to use array.map function to find the text properties of all the webelements stored in an array. Is there any way to handle this and retry finding the text property?
standard solution with normal for loop for retry is an option. Wanted to check for alternate solutions.
let name_planogram_table = await element.all(by.xpath(planograms_Table_cart_Category));
let uistringvaluearray = await Promise.all(name_planogram_table .map(name=> name.getText()));