Using cucumber site-prism.I'm navigating to a page and wants to check all elements present on that page.I used this code but not able to print this generic message.
"@sign_in" is the object of the class where i have defined all sign in elements "table" contains all the elements name
table.hashes.each do |link|
expect(@sign_in.send(link[:Login_elements])).to be_truthy , "link[:Login_elements]) is not present"
end