I want to iterate on a list of elements and filter them by attribute-value myAttribute. The code below is ment as reference to understand what I am trying to do.
xpath_info_modal_nodes = '//*[@id="restaurant-about-panel-info"]/div/div'
data_nodes.Sx do |info_modal_node|
data_attribute = info_modal_node.attribute('myAttribute')
end
Simple description about the feature
I want to iterate on a list of elements and filter them by attribute-value
myAttribute
. The code below is ment as reference to understand what I am trying to do.Usecase / Motivation