Answer the question
In order to leave comments, you need to log in
How to get the values of all elements with the same class?
There is a page on which there are many elements with the same classes, from which you need to extract the values of the classes "data-id=", "data-float=", "data-original-title" for each element separately. I tried to display at least for one element, but I constantly received various errors, because there is not enough experience. I will be very grateful for your help. Screenshot of the page structure below.
Answer the question
In order to leave comments, you need to log in
Getting date attributes is not a problem, the question is, what are you going to do with this data? compare? summarize? How do you want to understand which data belongs to which element in a general array? or is it not important? For example, I did it by index
ps, you need to open the console to see the result
Simple example: (because I didn’t understand what result is needed)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question