Hi everyone, I’m writing a html page scanner that should get the id of the source element -> find it on the html page -> read its attributes and then use these attributes to find this element on other pages with slight changes in the attributes. 
In the picture in red the same element with different changes is highlighted. Need help in drawing up an algorithm to search for an element on another page using the original attributes. PS I use library Jsoup