magnificent-lamp-44201
03/02/2023, 2:35 AMvalue property from a list of input elements, but I just only get the first value.
I tried something like this, to get all the values:
typescript
cy.get('table tbody tr td:nth-child(2) input')invoke('prop', 'value').each(($el) => actualResult.push($el));
but I'm getting an error since it's not possible to chain the invoke() and each() commands together.
Is there a way to get the values for my list of elements?
And other question that comes to me, related to this: How can I get the values for the other existing properties of my list of elements?
Thanks in advance for your answers!gray-kilobyte-89541
03/02/2023, 3:48 AMmagnificent-lamp-44201
03/04/2023, 2:36 AMmagnificent-lamp-44201
03/05/2023, 5:21 PMmap('value') , value is the property?
And, I'm curious about my second question: How can I get the values for the other existing properties of my list of elements (for example, the webkitEntries?gray-kilobyte-89541
03/05/2023, 5:34 PMvalue property. You can get other properties the same waymagnificent-lamp-44201
03/06/2023, 3:53 AMmap('webkitEntries')