how to combine a table headers and rows in to a map using ruby?
问题 While using the pageobject gem am able to get the a headers and rows of a table but am unable to convert it into a hash using the below code am able to get only first row mapped to headers but I need complete table rows mapped to the header. Here is the link for the table data: https://www.w3schools.com/html/html_tables.asp I have tried the below code: class WbPage include PageObject page_url 'https://www.w3schools.com/html/html_tables.asp' table(:customers, id: 'customers') def get_table